MCPcopy Create free account
hub / github.com/COW-dev/ddingdong-fe / DoubleButton

Function DoubleButton

packages/shared/ui/DoubleButton/DoubleButton.tsx:18–31  ·  view source on GitHub ↗
({ left, right, className, ...props }: Props)

Source from the content-addressed store, hash-verified

16} & React.HTMLAttributes<HTMLDivElement>;
17
18export function DoubleButton({ left, right, className, ...props }: Props) {
19 return (
20 <Flex
21 {...props}
22 dir="row"
23 justifyContent="between"
24 alignItems="center"
25 className={cn('w-full gap-2 md:gap-4', className)}
26 >
27 {left}
28 {right}
29 </Flex>
30 );
31}

Callers

nothing calls this directly

Calls 1

cnFunction · 0.90

Tested by

no test coverage detected