@combine-labs/combine-polaris
Version:
Combine Lab's product component library. Forked from Shopify's Polaris.
17 lines (16 loc) • 549 B
TypeScript
import * as React from 'react';
export declare type Variation = 'positive' | 'negative' | 'strong' | 'subdued' | 'code';
export declare enum Variations {
Positive = "positive",
Negative = "negative",
Strong = "strong",
Subdued = "subdued",
Code = "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;