UNPKG
@startpage/local-storage
Version:
latest (0.2.6)
0.2.6
0.2.4
0.2.2
0.2.0
0.1.2
0.1.1
0.1.0-alpha.14
0.1.0-alpha.13
0.1.0-alpha.12
0.1.0-alpha.10
0.1.0-alpha.9
0.1.0-alpha.8
0.1.0-alpha.2
0.1.0-alpha.1
0.1.0-alpha.0
Local storage management for your startpage
prettycoffee.github.io/startpage
PrettyCoffee/startpage
@startpage/local-storage
/
lib
/
StoragePrefix
/
StoragePrefixProvider.d.ts
8 lines
(7 loc)
•
294 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
import
React
from
"react"
;
type
StoragePrefixProviderProps
= {
prefix
:
string
; };
export
declare
const
StoragePrefixProvider
:
(
{ prefix, children, }:
React
.
PropsWithChildren
<
StoragePrefixProviderProps
>
) =>
JSX
.
Element
;
export
declare
const
useStoragePrefix
:
() =>
string
;
export
{};