mirror of
https://github.com/SomboChea/ui
synced 2024-11-05 06:04:28 +07:00
16 lines
334 B
TypeScript
16 lines
334 B
TypeScript
|
import React from 'react';
|
||
|
import Typography from '@material-ui/core/Typography';
|
||
|
|
||
|
interface Props {
|
||
|
text: string;
|
||
|
className?: string;
|
||
|
}
|
||
|
|
||
|
const NoItems: React.FC<Props> = ({ className, text }) => (
|
||
|
<Typography className={className} gutterBottom={true} variant="subtitle1">
|
||
|
{text}
|
||
|
</Typography>
|
||
|
);
|
||
|
|
||
|
export default NoItems;
|