mirror of
https://github.com/SomboChea/ui
synced 2024-04-28 15:41:37 +07:00
12 lines
302 B
JavaScript
12 lines
302 B
JavaScript
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,
|
|
};
|