fix(components): fix missing children prop

also remove unnessecary use of tsx
This commit is contained in:
AAGaming
2024-05-27 13:19:11 -04:00
parent 6c1b12b95f
commit 688c7471cd
27 changed files with 23 additions and 20 deletions

8
src/components/Button.ts Normal file
View File

@@ -0,0 +1,8 @@
import { FC } from 'react';
import { DialogButton, DialogButtonProps } from './Dialog';
export interface ButtonProps extends DialogButtonProps {}
// Button isn't exported, so call DialogButton to grab it
export const Button = (DialogButton as any)?.render({}).type as FC<ButtonProps>;