/
githubmr
/
facebook-react
Обзор
Документация
Войти
/
githubmr
/
facebook-react
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
main
packages/react-devtools-shared/src/devtools/views/Components/Skeleton.js
23 строки
497 B
Ruslan Lesiutin
feat[devtools]: symbolicate source for inspected element (#28471)
05 мар 2024, 15:32
Не верифицирован
05 мар 2024, 15:32
e528728
Код
Авторство
О чём код?
/** * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * * @flow */ import * as React from 'react'; import styles from './Skeleton.css'; type Props = { height: number | string, width: number | string, }; function Skeleton({height, width}: Props): React.Node { return <div className={styles.root} style={{height, width}} />; } export default Skeleton;