RowProps

Grouped row with an optional leading icon, a secondary line under the label and trailing detail. Use as="button" for an action, as="li" inside a List.

Source
type RowProps<T extends ElementType = 'div'> = PrimitiveProps<T> & {
  label?: ReactNode
  /** Second line under `label`, in the secondary colour. Most iOS rows have one. */
  subtitle?: ReactNode
  detail?: ReactNode
  icon?: ReactNode
  chevron?: boolean
}

API reference

type RowProps<T extends ElementType = 'div'> = PrimitiveProps<T> & {
  label?: ReactNode
  /** Second line under `label`, in the secondary colour. Most iOS rows have one. */
  subtitle?: ReactNode
  detail?: ReactNode
  icon?: ReactNode
  chevron?: boolean
}

Related types