Raw
1 "use client"
2
3 import clsx from "clsx"
4 import React from "react"
5
6 export type DottedSeparatorProps = {
7 wrapperClassName?: string
8 className?: string
9 "data-testid"?: string
10 }
11
12 export const DottedSeparator = ({
13 className,
14 wrapperClassName,
15 "data-testid": testId,
16 }: DottedSeparatorProps) => {
17 return (
18 <div
19 className={clsx("px-docs_0.75 my-docs_0.75", wrapperClassName)}
20 data-testid={testId}
21 >
22 <span
23 className={clsx(
24 "block w-full h-px relative bg-border-dotted",
25 "bg-[length:4px_1px] bg-repeat-x bg-bottom",
26 className
27 )}
28 ></span>
29 </div>
30 )
31 }