MCPcopy Create free account
hub / github.com/better-auth/examples / SheetDescription

Function SheetDescription

astro-example/src/components/ui/sheet.tsx:109–120  ·  view source on GitHub ↗
(
	props: PolymorphicProps<T, sheetDescriptionProps<T>>,
)

Source from the content-addressed store, hash-verified

107 };
108
109export const SheetDescription = <T extends ValidComponent = "p">(
110 props: PolymorphicProps<T, sheetDescriptionProps<T>>,
111) => {
112 const [local, rest] = splitProps(props as sheetDescriptionProps, ["class"]);
113
114 return (
115 <DialogPrimitive.Description
116 class={cn("text-sm text-muted-foreground", local.class)}
117 {...rest}
118 />
119 );
120};
121
122export const SheetHeader = (props: ComponentProps<"div">) => {
123 const [local, rest] = splitProps(props, ["class"]);

Callers

nothing calls this directly

Calls 1

cnFunction · 0.90

Tested by

no test coverage detected