mirror of
https://github.com/SteamDeckHomebrew/decky-frontend-lib.git
synced 2026-05-25 04:18:48 +02:00
fix(components): fix missing children prop
also remove unnessecary use of tsx
This commit is contained in:
8
src/components/Button.ts
Normal file
8
src/components/Button.ts
Normal 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>;
|
||||
Reference in New Issue
Block a user