mirror of
https://github.com/SomboChea/ui
synced 2024-05-13 15:01:37 +07:00
12 lines
302 B
React
12 lines
302 B
React
|
import React from 'react';
|
||
|
import PropTypes from 'prop-types';
|
||
|
|
||
|
import classes from './style.scss';
|
||
|
|
||
|
export default function ModuleContentPlaceholder({text}) {
|
||
|
return <p className={classes.emptyPlaceholder}>{text}</p>;
|
||
|
}
|
||
|
ModuleContentPlaceholder.propTypes = {
|
||
|
text: PropTypes.string.isRequired,
|
||
|
};
|