UNPKG
@prexo/ai-chat-sdk
Version:
beta (1.0.1-beta.1)
latest (1.1.0)
1.1.0
1.0.1
1.0.1-beta.1
1.0.0
0.1.6
AI Chat Component with Persistent History
prexoai.xyz
SkidGod4444/prexo
@prexo/ai-chat-sdk
/
dist
/
hooks
/
use.local.store.d.ts
6 lines
(3 loc)
•
184 B
TypeScript
View Raw
1
2
3
4
5
6
import
*
as
React
from
'react'
;
declare
function
useLocalStorage<T>(
key
:
string
,
initialValue
: T):
readonly
[T,
React
.
Dispatch
<
React
.
SetStateAction
<T>>];
export
{ useLocalStorage };