refactor(ui): replace RoleBadge with generic Badge component
- add `dot` and `onRemove` props to Badge for colored dot and removable tag support - delete RoleBadge component in favor of Badge with dot prop - update UserCreateModal, UserEditModal, and UsersPage to use Badge instead of RoleBadge - remove RoleBadge export from shared components index
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
// Template components exports
|
||||
export { default as Badge, StatusBadge, TypeBadge } from './Badge';
|
||||
export { default as RoleBadge } from './RoleBadge';
|
||||
export { default as Button } from './Button';
|
||||
export { default as Card } from './Card';
|
||||
export { default as Input } from './Input';
|
||||
|
||||
Reference in New Issue
Block a user