@furystack/shades-common-components
Version:
12 lines • 566 B
TypeScript
import type { ObservableValue } from '@furystack/utils';
export type ModalProps = {
backdropStyle?: Partial<CSSStyleDeclaration>;
isVisible: ObservableValue<boolean>;
onClose?: () => void;
showAnimation?: (el: Element | null) => Promise<unknown>;
hideAnimation?: (el: Element | null) => Promise<unknown>;
};
export declare const Modal: (props: ModalProps & Omit<Partial<HTMLElement>, "style"> & {
style?: Partial<CSSStyleDeclaration>;
}, children?: import("@furystack/shades").ChildrenList) => JSX.Element;
//# sourceMappingURL=modal.d.ts.map