parent
f697698a88
commit
2c0b476394
2 changed files with 18 additions and 1 deletions
@ -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 BodyText, { BodyTextProps } from './BodyText'; |
||||||
|
import DataGridCellText from './DataGridCellText'; |
||||||
import HeaderText from './HeaderText'; |
import HeaderText from './HeaderText'; |
||||||
import Monospace from './Monospace'; |
import Monospace from './Monospace'; |
||||||
|
|
||||||
export type { BodyTextProps }; |
export type { BodyTextProps }; |
||||||
export { BodyText, HeaderText, Monospace }; |
export { BodyText, DataGridCellText, HeaderText, Monospace }; |
||||||
|
Loading…
Reference in new issue