Skip to main content

Variable: SheetClose

@arolariu/components


@arolariu/components / SheetClose

Variable: SheetClose

const SheetClose: ForwardRefExoticComponent<Omit<DialogCloseProps, "ref"> & RefAttributes<HTMLButtonElement>> = BaseDialog.Close

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

Renders the sheet close.

Remarks

  • Delegates structure and state to the underlying Base UI primitive
  • Built on Base UI Dialog
  • Preserves the underlying primitive API for advanced composition

Example

<SheetClose>Content</SheetClose>

See

Base UI Documentation

// was this page useful?