Files
hudozka/src/store/play.ts
T
2025-08-25 21:57:31 +03:00

14 lines
197 B
TypeScript

import { proxy } from "valtio"
type State = {
voice: string
}
export const state = proxy<State>({
voice: "Milena",
})
export function setVoice(value: string) {
state.voice = value
}