import { BADGE_EMPHASES, BADGE_SIZE, BADGE_STATUS, BADGE_STATUSES, Badge, type BadgeStatus } from '../../src'; export default { component: Badge, title: 'Tests rendering', }; export const customStyle = () => ( Custom Style ); export const render = () => ( Render ); export const sizes = () => ( <> SM MD LG ); export const emphases = () => (
{ BADGE_STATUSES.map((status) => (
{ status } { BADGE_EMPHASES.map((emphasis) => ( { `${status} ${emphasis}` } )) }
)) }
); export const statuses = () => ( <> None { BADGE_STATUSES.map((status) => ( { status } )) } );