Local modifications to ClusterLabs/Anvil by Alteeve
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.
 
 
 
 
 
 

20 lines
369 B

import { FC } from 'react';
import BodyText, { BodyTextProps } from './BodyText';
const Monospace: FC<BodyTextProps> = ({ sx, ...bodyTextRestProps }) => (
<BodyText
{...{
...bodyTextRestProps,
monospaced: true,
sx: {
display: 'inline',
padding: '.1rem .3rem',
...sx,
},
}}
/>
);
export default Monospace;