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';
import { DialogButton, DialogButtonProps } from "./Dialog";
2022-05-10 23:38:10 +02:00
2022-10-02 04:41:47 +03:00
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>;