MCPcopy
hub / github.com/maurodesouza/profile-readme-generator / Drag

Function Drag

src/components/ui/primitives/atoms/tile.tsx:34–50  ·  view source on GitHub ↗
(props: React.ComponentProps<'div'>)

Source from the content-addressed store, hash-verified

32const Container = twx.div`w-full flex gap-md p-sm box-border h-16`;
33
34function Drag(props: React.ComponentProps<'div'>) {
35 const { className, ...rest } = props;
36
37 return (
38 <div
39 className={cn(
40 `w-5 h-full grid place-items-center select-none
41 !cursor-grab **:!cursor-grab
42 active:!cursor-grabbing active:**:!cursor-grabbing active:z-10`,
43 className
44 )}
45 {...rest}
46 >
47 <Icon name="menu" size={20} />
48 </div>
49 );
50}
51
52const Content = twx.div`w-full`;
53

Callers

nothing calls this directly

Calls 1

cnFunction · 0.90

Tested by

no test coverage detected