(props: React.ComponentProps<'div'>)
| 32 | const Container = twx.div`w-full flex gap-md p-sm box-border h-16`; |
| 33 | |
| 34 | function 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 | |
| 52 | const Content = twx.div`w-full`; |
| 53 |