@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.
32 lines (26 loc) • 858 B
TypeScript
// Type definitions for @kiwicom/orbit-components
// Project: http://github.com/kiwicom/orbit
import * as React from "react";
import * as Common from "../../common/common";
export interface BasicProps {
readonly inline?: boolean;
readonly rows?: string;
readonly columns?: string;
readonly gap?: string;
readonly rowGap?: string;
readonly columnGap?: string;
readonly maxWidth?: string;
readonly width?: string;
readonly spaceAfter?: Common.SpaceAfter;
}
interface Props extends Common.Global, BasicProps {
readonly as?: string;
readonly mediumMobile?: BasicProps;
readonly largeMobile?: BasicProps;
readonly tablet?: BasicProps;
readonly desktop?: BasicProps;
readonly largeDesktop?: BasicProps;
readonly children: React.ReactNode;
}
declare const Grid: React.FunctionComponent<Props>;
export { Grid, Grid as default };