UNPKG

grommet

Version:

focus on the essential experience

21 lines (17 loc) 670 B
import * as React from "react"; import { AnimateType, MarginType, KeyboardType } from "../../utils"; export interface LayerProps { animate?: AnimateType; animation?: "none" | "slide" | "fadeIn" | boolean; full?: boolean | "vertical" | "horizontal"; margin?: MarginType; modal?: boolean; onClickOutside?: ((...args: any[]) => any); onEsc?: KeyboardType; plain?: boolean; position?: "bottom" | "bottom-left" | "bottom-right" | "center" | "hidden" | "left" | "right" | "top" | "top-left" | "top-right"; responsive?: boolean; target?: object; } declare const Layer: React.ComponentClass<LayerProps & JSX.IntrinsicElements['div']>; export { Layer };