# Function useFiveFloor

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

  Five React Hooks: Five 楼层

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

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

  #### Example

      const [ shownFloor, showFloor ] = useFiveFloor;

  - Defined in lib/react/hooks/useFiveFloor.ts:15