import { HiFloat } from 'hi-kits/float'
通过设置dir 可将元素浮动到指定位置。查看页面左上角和右上角
dir
<h-float dir="topleft"> <h-space gutter="30" dir="vertical"> <h-button shape='circle' type="primary">TL</h-button> <h-button shape='circle' type="primary">TL</h-button> <h-button shape='circle' type="primary">TL</h-button> </h-space> </h-float> <h-float dir="topright"> <h-space gutter="10" dir="vertical"> <h-button shape='circle' type="primary">TR</h-button> <h-button shape='circle' type="primary">TR</h-button> <h-button shape='circle' type="primary">TR</h-button> </h-space> </h-float>
string
'top' | 'right' | 'bottom' | 'left' | 'topleft' | 'topright' | 'bottomleft' | 'bottomright'
Title 标题 Menu 导航菜单