grommet
Version:
focus on the essential experience
20 lines (16 loc) • 720 B
TypeScript
import * as React from "react";
import { ElevationType, KeyboardType } from "../../utils";
export interface DropProps {
align?: {top?: "top" | "bottom",bottom?: "top" | "bottom",right?: "left" | "right",left?: "left" | "right"};
elevation?: ElevationType;
onClickOutside?: ((...args: any[]) => any);
onEsc?: KeyboardType;
overflow?: "auto" | "hidden" | "scroll" | "visible" | {horizontal?: "auto" | "hidden" | "scroll" | "visible",vertical?: "auto" | "hidden" | "scroll" | "visible"} | string;
responsive?: boolean;
restrictFocus?: boolean;
stretch?: boolean;
target?: object;
plain?: boolean;
}
declare const Drop: React.ComponentClass<DropProps & JSX.IntrinsicElements['div']>;
export { Drop };