@kiwicom/orbit-components
Version:
Orbit-components is a React component library which provides developers with the easiest possible way of building Kiwi.com's products.
14 lines • 584 B
TypeScript
import type * as React from "react";
import type * as Common from "../common/types";
export interface Props extends Common.Globals {
readonly initialExpanded?: boolean;
readonly expanded?: boolean;
readonly label?: string;
readonly children: React.ReactNode;
readonly actions?: React.ReactNode;
readonly customLabel?: React.ReactNode;
readonly expandButtonLabel: string;
readonly collapseButtonLabel: string;
readonly onClick?: (e: React.SyntheticEvent<HTMLDivElement>, state: boolean) => void | Promise<void>;
}
//# sourceMappingURL=types.d.ts.map