@combine-labs/combine-polaris
Version:
Combine Lab's product component library. Forked from Shopify's Polaris.
10 lines (9 loc) • 417 B
TypeScript
import * as React from 'react';
export declare type Variation = 'positive' | 'warning' | 'danger' | 'negative' | 'strong' | 'subdued' | 'code';
export interface Props {
/** Give text additional visual meaning */
variation?: Variation;
/** The content that should get the intended styling */
children?: React.ReactNode;
}
export default function TextStyle({ variation, children }: Props): JSX.Element;