import { GlobalProps } from '../../shared/global'; import { AccessibilityVisibilityProps } from '../../shared/accessibility'; import { BaseTypographyProps, BlockTypographyProps } from '../../shared/typography'; import { ComponentChildren } from '../../shared/children'; export interface ParagraphProps extends GlobalProps, BaseTypographyProps, BlockTypographyProps, AccessibilityVisibilityProps { /** * The content of the Text. */ children?: ComponentChildren; /** * Provide semantic meaning and default styling to the paragraph. * * Other presentation properties on `` override the default styling. * * @default 'paragraph' */ type?: ParagraphType; } type ParagraphType = /** * Indicate the text is a structural grouping of related content. * * In an HTML host, the text will be rendered in an `

` element. * @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/p */ 'paragraph' /** * Indicates the text is considered less important than the main content, but is still necessary for the reader to understand. * It can be used for secondary content but also for disclaimers, terms and conditions, or legal information. * * Surfaces should apply a smaller font size than the default size. * * In an HTML host, the text will be rendered in a `` element. * @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/small */ | 'small'; export {};