Documentation
Types
SayComponent

SayComponent

interface SayElementProps {
    action: {
        sentence: Sentence;
        character: Character | null;
    };
    /**
     * Callback function to be called when player triggers the next action
     */
    onClick?: () => void;
    useTypeEffect?: boolean;
    className?: string;
    state: GameState;
}
type SayComponent = Components<SayElementProps>;

For Components, see Components.