Something went wrong. Try again.
A Bsky-like frontend using the atprotocol natively.
Something went wrong. Try again.
358 B · 16 lines
TypeScript
at main
1234567891011121314151617import { createContext } from 'react';import type { ReplyStyle } from '../settings/storage';
interface ReplyStyleContextValue { style: ReplyStyle; setStyle: (style: ReplyStyle) => void;}
export type { ReplyStyleContextValue };
export const ReplyStyleContext = createContext<ReplyStyleContextValue>({ style: 'tree', setStyle: () => {},});