@littlespoon/box
Version:
31 lines (28 loc) • 603 B
Flow
/**
* Flowtype definitions for Box
* Generated by Flowgen from a Typescript Definition
* Flowgen v1.21.0
* @flow
*/
import type { StyleProps } from "@littlespoon/theme/lib/style";
import React from "react";
import type { StyledComponentProps } from "styled-components";
export type BoxProps = {
/**
* Box content.
*/
children?: React.ReactNode,
...
} & StyledComponentProps<
"div",
{ [key: string]: any },
{ [key: string]: any },
string | number | Symbol
> &
StyleProps;
/**
* Box
*/
declare export default function Box(
props: BoxProps
): React.ReactElement<BoxProps>;