1
0
mirror of https://github.com/SomboChea/ui synced 2024-11-05 06:04:28 +07:00
verdaccio-ui/src/components/NoItems/NoItems.tsx
Priscila Oliveira a8deeb9b9d fix: typography Component - Introduced ForwardRef (#179)
* refactor: introduced forwardref

* refacttor: updated ref's

* fix: fixed func's name

* fix: fixed snapshots

* fix: updated snap
2019-10-12 21:41:42 +02:00

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;