UNPKG

@shopify/polaris

Version:

Shopify’s admin product component library

14 lines (13 loc) 453 B
import React from 'react'; import { HeadingTagName } from '../../types'; export interface SubheadingProps { /** * The element name to use for the subheading * @default 'h3' */ element?: HeadingTagName; /** Text to display in subheading */ children?: React.ReactNode; } export declare function Subheading({ element: Element, children, }: SubheadingProps): JSX.Element; //# sourceMappingURL=Subheading.d.ts.map