https://dev.kronoz.win/r/marzneshin.git
| 1 |
4056c66 |
Dawsh |
1y ago |
import * as React from "react" |
| 2 |
4056c66 |
Dawsh |
1y ago |
import * as AccordionPrimitive from "@radix-ui/react-accordion" |
| 3 |
4056c66 |
Dawsh |
1y ago |
|
| 4 |
4056c66 |
Dawsh |
1y ago |
import { cn } from "@marzneshin/common/utils"; |
| 5 |
4056c66 |
Dawsh |
1y ago |
|
| 6 |
4056c66 |
Dawsh |
1y ago |
export const AccordionItem = React.forwardRef< |
| 7 |
4056c66 |
Dawsh |
1y ago |
React.ElementRef<typeof AccordionPrimitive.Item>, |
| 8 |
4056c66 |
Dawsh |
1y ago |
React.ComponentPropsWithoutRef<typeof AccordionPrimitive.Item> |
| 9 |
4056c66 |
Dawsh |
1y ago |
>(({ className, ...props }, ref) => ( |
| 10 |
4056c66 |
Dawsh |
1y ago |
<AccordionPrimitive.Item |
| 11 |
4056c66 |
Dawsh |
1y ago |
ref={ref} |
| 12 |
4056c66 |
Dawsh |
1y ago |
className={cn("border-b", className)} |
| 13 |
4056c66 |
Dawsh |
1y ago |
{...props} |
| 14 |
4056c66 |
Dawsh |
1y ago |
/> |
| 15 |
4056c66 |
Dawsh |
1y ago |
)) |