Skip to content

The open alternative to Salesforce, designed for AI.

733 B
Raw Blame
import { type TextProps } from '../src/primitives/typography/Text/types/TextProps';

export const TEXT_PROP_DESCRIPTIONS = {
  size: 'Font size from the theme scale. Omitted values inherit; this does not set height.',
  weight: 'Theme font weight. Omitted values inherit.',
  color:
    'Semantic text color. Omitted values inherit; native style supports runtime colors.',
  truncate:
    'Truncates one line with an ellipsis. Cannot be combined with `lineClamp`.',
  lineClamp:
    'Positive integer limiting the number of visible lines. Cannot be combined with `truncate`.',
  render:
    'Replaces the default div. Native props and the ref target the rendered text element.',
} satisfies Partial<Record<keyof TextProps, string>>;