• Five React Hooks: Five 楼层

    Returns [shownFloor: number | null, totalFloorLength: number, showFloor: ((floorIndex?: number) => void)]

    [ shownFloor: Five 当前显示的楼层, null 为都显示, showFloor: 设置显示楼层,不传参数为都显示 ]

    const [ shownFloor, showFloor ] = useFiveFloor;