10 lines
241 B
TypeScript
10 lines
241 B
TypeScript
|
|
import { create } from 'zustand'
|
|||
|
|
import type { {{name.pascalCase}}State } from './{{name.kebabCase}}.type'
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* Стор {{name.pascalCase}}.
|
|||
|
|
*/
|
|||
|
|
export const use{{name.pascalCase}}Store = create<{{name.pascalCase}}State>()(() => ({
|
|||
|
|
|
|||
|
|
}))
|