zmp-react
Version:
Build full featured iOS & Android apps using ZMP & React
41 lines (35 loc) • 1.14 kB
TypeScript
import * as React from 'react';
import { Actions } from 'zmp-core/types';
interface ActionsProps {
slot?: string;
id?: string | number;
className?: string;
style?: React.CSSProperties;
opened ?: boolean;
animate ?: boolean;
grid ?: boolean;
convertToPopover ?: boolean;
forceToPopover ?: boolean;
target ?: string | object;
backdrop ?: boolean;
backdropEl ?: string | object;
closeByBackdropClick ?: boolean;
closeByOutsideClick ?: boolean;
closeOnEscape ?: boolean;
onActionsOpen ?: (instance?: Actions.Actions) => void;
onActionsOpened ?: (instance?: Actions.Actions) => void;
onActionsClose ?: (instance?: Actions.Actions) => void;
onActionsClosed ?: (instance?: Actions.Actions) => void;
ref?: React.MutableRefObject<{el: HTMLElement | null; zmpActions: ()=> Actions.Actions}>;
containerEl ?: string | object;
color?: string;
colorTheme?: string;
textColor?: string;
bgColor?: string;
borderColor?: string;
rippleColor?: string;
themeDark?: boolean;
children?: React.ReactNode;
}
declare const Actions: React.FunctionComponent<ActionsProps>;
export default Actions;