You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
415 B
18 lines
415 B
import { FC } from 'react'; |
|
|
|
import { BodyTextProps } from './BodyText'; |
|
import SmallText from './SmallText'; |
|
|
|
type MonoTextProps = BodyTextProps; |
|
|
|
const MonoText: FC<MonoTextProps> = ({ sx, ...bodyTextRestProps }) => ( |
|
<SmallText |
|
monospaced |
|
sx={{ alignItems: 'center', display: 'flex', height: '100%', ...sx }} |
|
{...bodyTextRestProps} |
|
/> |
|
); |
|
|
|
export type { MonoTextProps }; |
|
|
|
export default MonoText;
|
|
|