mirror of
https://github.com/SomboChea/ui
synced 2024-04-28 07:31:36 +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;
|