|
|
|
@ -3,11 +3,11 @@ import { BasicArrow } from '/@/components/Basic'; |
|
|
|
export default () => { |
|
|
|
return (props: Recordable) => { |
|
|
|
if (!props.expandable) { |
|
|
|
return <span />; |
|
|
|
return <span class="ant-table-row-expand-icon ant-table-row-spaced" />; |
|
|
|
} |
|
|
|
return ( |
|
|
|
<BasicArrow |
|
|
|
class="mr-1" |
|
|
|
style="margin-right: 8px" |
|
|
|
iconStyle="margin-top: -2px;" |
|
|
|
onClick={(e: Event) => { |
|
|
|
props.onExpand(props.record, e); |
|
|
|
|