in studio/components/log-toolbar/index.tsx [25:43]
setup() {
const { toggleLogUpAndDown, getLogHeight, getLogMinHeight } = useLogHeight()
return () => (
<NSpace>
<NButton text style={{ fontSize: '16px' }} onClick={toggleLogUpAndDown}>
<NIcon
style={{
transform: `rotate(${
getLogHeight() === getLogMinHeight() ? 0 : 180
}deg)`,
transition: '0.3'
}}
>
<UpOutlined />
</NIcon>
</NButton>
</NSpace>
)
}