update README.md
This commit is contained in:
parent
cb452a2f51
commit
03548d584c
|
@ -5,7 +5,7 @@
|
|||
![build](https://github.com/lingdocs/pashto-inflector/actions/workflows/ci.yml/badge.svg)
|
||||
![build](https://github.com/lingdocs/pashto-inflector/actions/workflows/publish.yml/badge.svg)
|
||||
|
||||
A pashto inflection and verb conjugation engine, as well as functions and components for modifying and displaying Pashto text.
|
||||
A pashto inflection, verb conjugation, and phrase-generation engine, as well as functions and components for modifying and displaying Pashto text.
|
||||
|
||||
#### [Pashto Inflector Website/Demo](https://pashto-inflector.lingdocs.com)
|
||||
|
||||
|
|
|
@ -5,9 +5,9 @@ type SaveableData = string | number | object | boolean | undefined | null
|
|||
/**
|
||||
* replacement from the React useState hook that will persist the state in local storage
|
||||
*
|
||||
* @param defaultValue The default value to use if there was nothing saved previously OR
|
||||
* @param defaultValue The default value to use if there was nothing saved previously OR
|
||||
* a function that will take the saved value and return a modified new value to start with
|
||||
* @param key a key for saving the state in locolStorage
|
||||
* @param key a key for saving the state in localStorage
|
||||
* @returns
|
||||
*/
|
||||
export default function useStickyState<T extends SaveableData>(defaultValue: T | ((old: T | undefined) => T), key: string): [
|
||||
|
|
Loading…
Reference in New Issue