UNPKG
@while-and-for/tremor-react
Version:
latest (0.0.1-development)
0.0.1-development
0.0.0-development
The React library to build dashboards faster.
github.com/tremorlabs/tremor
tremorlabs/tremor
@while-and-for/tremor-react
/
dist
/
hooks
/
useInternalState.d.ts
4 lines
(3 loc)
•
205 B
TypeScript
View Raw
1
2
3
4
/// <reference types="react" />
declare
const
useInternalState
: <T>
(
defaultValueProp
: T,
valueProp
: T
) =>
[T,
import
(
"react"
).
Dispatch
<
import
(
"react"
).
SetStateAction
<T>>];
export
default
useInternalState;