mirror of https://github.com/boxyhq/jackson.git
16 lines
324 B
TypeScript
16 lines
324 B
TypeScript
import { Badge as BaseBadge, BadgeProps } from 'react-daisyui';
|
|
|
|
const Badge = (props: BadgeProps) => {
|
|
const { children, className } = props;
|
|
|
|
return (
|
|
<>
|
|
<BaseBadge {...props} className={`rounded-md py-2 text-white ${className}`}>
|
|
{children}
|
|
</BaseBadge>
|
|
</>
|
|
);
|
|
};
|
|
|
|
export default Badge;
|