blob: 7876454a88d8880001be6c842c3d8a1df4625c49 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
import { cn } from '@/utils/cn';
export const Button = ({
className,
...props
}: React.ComponentPropsWithRef<'button'>) => {
return (
<button
{...props}
className={cn(
'rounded-sm border px-2',
'cursor-pointer',
props.disabled && 'cursor-default',
className,
)}
/>
);
};
|