UNPKG

allen-react-framework

Version:

A comprehensive eLearning framework for React applications

77 lines (65 loc) 2.96 kB
// Allen React Framework Type Declarations // Core components export { ThemeProvider } from './theme/ThemeContext'; export { ThemeToggle } from './components/ui/ThemeToggle'; // UI components export { Button } from './components/ui/Button'; export { Input } from './components/ui/Input'; export { Modal } from './components/ui/Modal'; export { Card, CardHeader, CardBody, CardFooter } from './components/ui/Card'; export { Alert } from './components/ui/Alert'; export { Badge } from './components/ui/Badge'; export { Tooltip } from './components/ui/Tooltip'; export { Select } from './components/ui/Select'; export { Breadcrumb } from './components/ui/Breadcrumb'; export { Pagination } from './components/ui/Pagination'; // Interaction components export { MultipleChoiceInteraction } from './interactions/MultipleChoiceInteraction'; export { DragDropInteraction } from './interactions/DragDropInteraction'; export { TextEntryInteraction } from './interactions/TextEntryInteraction'; // Base classes export { BaseInteraction } from './core/BaseInteraction'; // Types export type { BaseInteractionProps, BaseInteractionConfig, InteractionResult, InteractionState, UserResponse } from './types'; export type { MultipleChoiceConfig } from './interactions/MultipleChoiceInteraction'; export type { DragDropConfig, DragItem, DropZone } from './interactions/DragDropInteraction'; export type { TextEntryConfig } from './interactions/TextEntryInteraction'; // Theme types export type { ThemeContextType } from './theme/ThemeContext'; // Default export declare const AllenReactFramework: { ThemeProvider: typeof import('./theme/ThemeContext').ThemeProvider; ThemeToggle: typeof import('./components/ui/ThemeToggle').ThemeToggle; Button: typeof import('./components/ui/Button').Button; Input: typeof import('./components/ui/Input').Input; Modal: typeof import('./components/ui/Modal').Modal; Card: typeof import('./components/ui/Card').Card; CardHeader: typeof import('./components/ui/Card').CardHeader; CardBody: typeof import('./components/ui/Card').CardBody; CardFooter: typeof import('./components/ui/Card').CardFooter; Alert: typeof import('./components/ui/Alert').Alert; Badge: typeof import('./components/ui/Badge').Badge; Tooltip: typeof import('./components/ui/Tooltip').Tooltip; Select: typeof import('./components/ui/Select').Select; Breadcrumb: typeof import('./components/ui/Breadcrumb').Breadcrumb; Pagination: typeof import('./components/ui/Pagination').Pagination; MultipleChoiceInteraction: typeof import('./interactions/MultipleChoiceInteraction').MultipleChoiceInteraction; DragDropInteraction: typeof import('./interactions/DragDropInteraction').DragDropInteraction; TextEntryInteraction: typeof import('./interactions/TextEntryInteraction').TextEntryInteraction; BaseInteraction: typeof import('./core/BaseInteraction').BaseInteraction; }; export default AllenReactFramework;