@shopify/polaris
Version:
Shopify’s admin product component library
11 lines (10 loc) • 421 B
TypeScript
import React from 'react';
declare type Variation = 'positive' | 'negative' | 'strong' | 'subdued' | 'code';
export interface TextStyleProps {
/** Give text additional visual meaning */
variation?: Variation;
/** The content that should get the intended styling */
children?: React.ReactNode;
}
export declare function TextStyle({ variation, children }: TextStyleProps): JSX.Element;
export {};