Add ability to manage room addresses

Signed-off-by: Ajay Bura <ajbura@gmail.com>
This commit is contained in:
Ajay Bura 2022-01-01 11:43:35 +05:30
parent 6fdd9ed48b
commit 54635bf0d3
5 changed files with 447 additions and 10 deletions

View file

@ -91,16 +91,17 @@ function MenuItem({
MenuItem.defaultProps = {
variant: 'surface',
iconSrc: 'none',
iconSrc: null,
type: 'button',
disabled: false,
onClick: null,
};
MenuItem.propTypes = {
variant: PropTypes.oneOf(['surface', 'positive', 'caution', 'danger']),
iconSrc: PropTypes.string,
type: PropTypes.oneOf(['button', 'submit']),
onClick: PropTypes.func.isRequired,
onClick: PropTypes.func,
children: PropTypes.node.isRequired,
disabled: PropTypes.bool,
};