@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 (17 loc) • 543 B
TypeScript
// Type definitions for @kiwicom/orbit-components
// Project: http://github.com/kiwicom/orbit
import type * as React from "react";
import type { TransitionDuration } from "../transition";
export interface State {
maxHeight: number | null;
transitionFinished: boolean;
visible: boolean;
}
export interface Props {
readonly children: React.ReactNode;
readonly maxHeight: number | null;
readonly expanded?: boolean;
readonly ariaLabelledBy?: string;
readonly id?: string;
readonly transitionDuration?: TransitionDuration;
}