mirror of
https://github.com/harness/drone.git
synced 2025-05-10 05:01:41 +08:00
6 lines
103 B
TypeScript
6 lines
103 B
TypeScript
import { useState } from 'react'
|
|
|
|
export function usePageIndex(index = 0) {
|
|
return useState(index)
|
|
}
|