mirror of
https://github.com/SomboChea/ui
synced 2024-05-13 23:11:37 +07:00
17 lines
242 B
JavaScript
17 lines
242 B
JavaScript
|
/**
|
||
|
* @prettier
|
||
|
* @flow
|
||
|
*/
|
||
|
|
||
|
import React from 'react';
|
||
|
import { IProps } from './types';
|
||
|
import { Wrapper } from './styles';
|
||
|
|
||
|
const NoItems = ({ text }: IProps) => (
|
||
|
<Wrapper>
|
||
|
<h2>{text}</h2>
|
||
|
</Wrapper>
|
||
|
);
|
||
|
|
||
|
export default NoItems;
|