@combine-labs/combine-polaris
Version:
Combine Lab's product component library. Forked from Shopify's Polaris.
10 lines (9 loc) • 374 B
TypeScript
import * as React from 'react';
export declare type Spacing = 'tight' | 'loose';
export interface Props {
/** The amount of vertical spacing children will get between them */
spacing?: Spacing;
/** The content to render in the text container. */
children?: React.ReactNode;
}
export default function TextContainer({ spacing, children }: Props): JSX.Element;