evOo-local/packages/ui-web/src/avatar-style.tsx
cynarAI 6c7eed7580 Initial clean evOo-local from f00577b
Fresh history cut from cynarAI/evoo antigravity-handoff/project-timeline
(Voice First + project timeline). Brand docs/titles as evOo; keep @rakazo/*
packages as tech debt. Excludes node_modules, caches, secrets, voice blobs.
2026-09-20 17:15:16 +02:00

20 lines
465 B
TypeScript

import { createContext, type ReactNode, useContext } from "react";
export type AvatarStyle = "robot" | "organic";
const AvatarStyleContext = createContext<AvatarStyle>("robot");
export function AvatarStyleProvider({
children,
value,
}: {
children: ReactNode;
value: AvatarStyle;
}) {
return <AvatarStyleContext value={value}>{children}</AvatarStyleContext>;
}
export function useAvatarStyle(): AvatarStyle {
return useContext(AvatarStyleContext);
}