UNPKG

@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.

22 lines (16 loc) 708 B
// @flow // Type definitions for @kiwicom/orbit-components // Project: http://github.com/kiwicom/orbit import * as React from "react"; import AccordionSection from "./AccordionSection"; import * as Common from "../common/common"; declare module "@kiwicom/orbit-components/lib/Accordion"; export interface Props extends Common.Global, Common.SpaceAfter { readonly children?: React.ReactNode; readonly expandedSection?: string | number; readonly loading?: boolean; readonly dataA11ySection?: string; } declare const Accordion: React.FunctionComponent<Props>; declare const StyledAccordion: React.ComponentType<Props>; export { Accordion, Accordion as default, AccordionSection, StyledAccordion };