mirror of
https://github.com/SomboChea/ui
synced 2024-11-05 06:04:28 +07:00
a8deeb9b9d
* refactor: introduced forwardref * refacttor: updated ref's * fix: fixed func's name * fix: fixed snapshots * fix: updated snap
17 lines
313 B
TypeScript
17 lines
313 B
TypeScript
import React from 'react';
|
|
|
|
import Text from '../../muiComponents/Text';
|
|
|
|
interface Props {
|
|
text: string;
|
|
className?: string;
|
|
}
|
|
|
|
const NoItems: React.FC<Props> = ({ className, text }) => (
|
|
<Text className={className} gutterBottom={true} variant="subtitle1">
|
|
{text}
|
|
</Text>
|
|
);
|
|
|
|
export default NoItems;
|