(props: ExpandableRowChevronProps)
| 1480 | }); |
| 1481 | |
| 1482 | function ExpandableRowChevron(props: ExpandableRowChevronProps) { |
| 1483 | let ref = useRef<HTMLButtonElement>(null); |
| 1484 | let {isExpanded, isHidden} = props; |
| 1485 | let {direction} = useLocale(); |
| 1486 | |
| 1487 | return ( |
| 1488 | <Button |
| 1489 | {...props} |
| 1490 | ref={ref} |
| 1491 | slot="chevron" |
| 1492 | className={renderProps => |
| 1493 | expandButton({...renderProps, isExpanded, isRTL: direction === 'rtl', isHidden}) |
| 1494 | }> |
| 1495 | <Chevron |
| 1496 | className={style({ |
| 1497 | scale: { |
| 1498 | direction: { |
| 1499 | ltr: '1', |
| 1500 | rtl: '-1' |
| 1501 | } |
| 1502 | }, |
| 1503 | '--iconPrimary': { |
| 1504 | type: 'fill', |
| 1505 | value: 'currentColor' |
| 1506 | } |
| 1507 | })({direction})} |
| 1508 | /> |
| 1509 | </Button> |
| 1510 | ); |
| 1511 | } |
| 1512 | |
| 1513 | const editableCell = style< |
| 1514 | CellRenderProps & |
nothing calls this directly
no test coverage detected