fix(striker-ui): move DataGridCellText

main
Tsu-ba-me 2 years ago
parent f697698a88
commit 2c0b476394
  1. 16
      striker-ui/components/Text/DataGridCellText.tsx
  2. 3
      striker-ui/components/Text/index.tsx

@ -0,0 +1,16 @@
import { FC } from 'react';
import BodyText, { BodyTextProps } from './BodyText';
const DataGridCellText: FC<BodyTextProps> = ({
...dataGridCellTextRestProps
}) => (
<BodyText
{...{
variant: 'body2',
...dataGridCellTextRestProps,
}}
/>
);
export default DataGridCellText;

@ -1,6 +1,7 @@
import BodyText, { BodyTextProps } from './BodyText';
import DataGridCellText from './DataGridCellText';
import HeaderText from './HeaderText';
import Monospace from './Monospace';
export type { BodyTextProps };
export { BodyText, HeaderText, Monospace };
export { BodyText, DataGridCellText, HeaderText, Monospace };

Loading…
Cancel
Save