@littlespoon/drawer
Version:
Little Spoon drawer
29 lines (25 loc) • 530 B
Flow
/**
* Flowtype definitions for Backdrop
* Generated by Flowgen from a Typescript Definition
* Flowgen v1.21.0
* @flow
*/
import { PropsWithChildren } from "react";
export type BackdropProps = PropsWithChildren<{
/**
* Click handler.
*/
onClick?: () => void,
/**
* If `true`, the component is shown.
* @defaultValue `false`
*/
open?: boolean,
/**
* Opacity
* @defaultValue `1`
*/
opacity?: number,
...
}>;
declare export default function Backdrop(x: BackdropProps): React$Node | null;