diff options
| author | Sam Nystrom <sam@samnystrom.dev> | 2024-03-14 19:29:29 -0400 |
|---|---|---|
| committer | Sam Nystrom <sam@samnystrom.dev> | 2024-03-14 19:29:29 -0400 |
| commit | c63738e17df4d5bfff2049a6d1c445c609c2189e (patch) | |
| tree | 5e64cdbcd49a3d6f7348cff8ad80a8eafb6dc83c /src/components/Button.tsx | |
| parent | 71abdb2ee3f5bdb1e029c9f4266f4b797fa960f9 (diff) | |
fix: fix lots of type errors
Diffstat (limited to 'src/components/Button.tsx')
| -rw-r--r-- | src/components/Button.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/Button.tsx b/src/components/Button.tsx index 60f42c7..8f094ce 100644 --- a/src/components/Button.tsx +++ b/src/components/Button.tsx @@ -4,7 +4,7 @@ import './Button.css'; export interface ButtonProps { children: ComponentChildren; kind?: 'primary' | 'outline' | 'ghost'; - props: Record<string, any>; + [prop: string]: any; } const Button = ({ children, kind = 'primary', ...props }: ButtonProps) => { |
