UNPKG

kepler.gl

Version:

kepler.gl is a webgl based application to visualize large scale location data in the browser

65 lines (64 loc) 2.06 kB
/// <reference types="react-modal" /> import React, { Component, ReactNode } from 'react'; import { FlattenSimpleInterpolation } from 'styled-components'; export declare const ModalTitle: import("styled-components").StyledComponent<"div", any, { style?: React.CSSProperties | undefined; className?: string | undefined; } & { children?: React.ReactNode; }, never>; declare type ModalButtonProps = { style?: React.CSSProperties; large?: boolean; disabled?: boolean; negative?: boolean; children?: string; }; declare type ModalFooterProps = { cancel: () => void; confirm: (data?: any) => void; cancelButton?: ModalButtonProps; confirmButton?: ModalButtonProps; }; export declare const ModalFooter: React.FC<ModalFooterProps>; interface ModalDialogOwnProps { footer: boolean; close: boolean; isOpen: boolean; title?: string; className?: string; onConfirm: (...args: any) => void; onCancel: (...args: any) => void; confirmButton?: ModalButtonProps; confirmButtonLabel?: string; cancelButton?: ModalButtonProps; cancelButtonLabel?: string; cssStyle?: FlattenSimpleInterpolation | string; style?: React.CSSProperties; theme: any; children?: ReactNode; } export declare type ModalDialogProps = ModalDialogOwnProps & Omit<ReactModal.Props, 'style' | 'ariaHideApp' | 'className'>; export declare class ModalDialog extends Component<ModalDialogProps> { static defaultProps: { footer: boolean; close: boolean; onConfirm: () => void; onCancel: () => void; cancelButton: { link: boolean; large: boolean; children: string; }; confirmButton: { cta: boolean; large: boolean; width: string; children: string; }; cssStyle: never[]; }; render(): React.JSX.Element; } declare const StyledModal: import("styled-components").StyledComponent<typeof ModalDialog, any, {}, never>; export default StyledModal;