@shopify/polaris
Version:
Shopify’s admin product component library
12 lines (11 loc) • 474 B
TypeScript
import React from 'react';
declare type Variation = 'positive' | 'negative' | 'warning' | '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 {};
//# sourceMappingURL=TextStyle.d.ts.map