Files
decky-frontend-lib/src/deck-components/Button.tsx

9 lines
288 B
TypeScript
Raw Normal View History

2022-10-02 04:41:47 +03:00
import { FC } from 'react';
2022-05-10 23:38:10 +02:00
2022-10-24 20:33:40 -04:00
import { DialogButton, DialogButtonProps } from './Dialog';
export interface ButtonProps extends DialogButtonProps {}
2022-05-10 23:38:10 +02:00
2022-10-02 04:41:47 +03:00
// Button isn't exported, so call DialogButton to grab it
export const Button = (DialogButton as any)?.render({}).type as FC<ButtonProps>;