({
label,
onClick,
}: {
label: ReactNode;
onClick: () => void;
})
| 296 | ); |
| 297 | |
| 298 | export const MenuLabel = ({ |
| 299 | label, |
| 300 | onClick, |
| 301 | }: { |
| 302 | label: ReactNode; |
| 303 | onClick: () => void; |
| 304 | }): ReactElement => ( |
| 305 | <button |
| 306 | type="button" |
| 307 | onClick={onClick} |
| 308 | className="shell-press flex h-7 items-center gap-0.5 rounded-8 px-1 text-text-secondary typo-footnote" |
| 309 | > |
| 310 | {label} |
| 311 | <ArrowIcon |
| 312 | size={IconSize.XSmall} |
| 313 | className="rotate-180 text-text-tertiary" |
| 314 | /> |
| 315 | </button> |
| 316 | ); |
| 317 | |
| 318 | export const SheetChoice = ({ items }: { items: RowItem[] }): ReactElement => ( |
| 319 | <div className="flex flex-col py-1"> |
nothing calls this directly
no outgoing calls
no test coverage detected