Function
DialogHeader
({
className,
render,
...props
}: useRender.ComponentProps<"div">)
Source from the content-addressed store, hash-verified
| 112 | } |
| 113 | |
| 114 | export function DialogHeader({ |
| 115 | className, |
| 116 | render, |
| 117 | ...props |
| 118 | }: useRender.ComponentProps<"div">): React.ReactElement { |
| 119 | const defaultProps = { |
| 120 | className: cn( |
| 121 | "flex flex-col gap-2 p-6 in-[[data-slot=dialog-popup]:has([data-slot=dialog-panel])]:pb-3 max-sm:pb-4", |
| 122 | className, |
| 123 | ), |
| 124 | "data-slot": "dialog-header", |
| 125 | }; |
| 126 | |
| 127 | return useRender({ |
| 128 | defaultTagName: "div", |
| 129 | props: mergeProps<"div">(defaultProps, props), |
| 130 | render, |
| 131 | }); |
| 132 | } |
| 133 | |
| 134 | export function DialogFooter({ |
| 135 | className, |
Callers
nothing calls this directly
Tested by
no test coverage detected