indoqa-react-fela
Version:
This project components to use [Fela](https://fela.js.org) in React projects:
21 lines (20 loc) • 763 B
TypeScript
import * as React from 'react';
import { BaseTheme } from '../../baseTheme';
import { BoxModelProps, FlexChildProps, MarginProps, PaddingProps, StylingProps, WithStyle } from '../base';
interface GridContainerStyleProps<T extends BaseTheme> extends WithStyle<T>, PaddingProps, FlexChildProps, StylingProps, BoxModelProps, MarginProps {
children?: React.ReactNode;
maxWidth?: number | string;
center?: boolean;
}
interface Props<T extends BaseTheme> extends GridContainerStyleProps<T> {
spacing: number | string;
}
export declare class Grid<T extends BaseTheme> extends React.Component<Props<T>> {
static defaultProps: {
maxWidth: string;
center: boolean;
spacing: number;
};
render(): JSX.Element;
}
export {};