Skip to main content

Function: SheetTitle()

@arolariu/components


@arolariu/components / SheetTitle

Function: SheetTitle()

SheetTitle(props): ReactElement

Defined in: components/ui/sheet.tsx:338

Renders the sheet title.

Parameters

props

Readonly<Props>

Returns

ReactElement

Remarks

  • Renders a <h2> element by default
  • Built on Base UI Dialog
  • Supports the render prop for element composition

Example

<SheetTitle>Content</SheetTitle>

See

Base UI Documentation

// was this page useful?