@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.
25 lines (19 loc) • 576 B
Flow
// @flow
import * as React from "react";
import type { StyledComponent } from "styled-components";
import type { TransitionDuration } from "../transition";
export type State = {|
maxHeight: number | null,
transitionFinished: boolean,
visible: boolean,
|};
export type Props = {|
+children: React.Node,
+maxHeight: ?number,
+expanded?: boolean,
+ariaLabelledBy?: string,
+id?: string,
+transitionDuration?: TransitionDuration,
|};
declare export var StyledSlide: StyledComponent<any, any, HTMLElement>;
declare export default React.ComponentType<Props>;