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