image-editor-canva
Version:
A Canva-like image editor plugin for React
33 lines (32 loc) • 2.62 kB
TypeScript
import './styles/globals.css';
export { Editor } from './features/editor/components/editor';
export type { ActiveTool, Editor as EditorInterface, BuildEditorProps, EditorHookProps, JSON_KEYS, TEXT_OPTIONS, CIRCLE_OPTIONS, RECTANGLE_OPTIONS, DIAMOND_OPTIONS, TRIANGLE_OPTIONS, FILL_COLOR, STROKE_COLOR, STROKE_WIDTH, STROKE_DASH_ARRAY, FONT_FAMILY, FONT_SIZE, FONT_WEIGHT, filters, fonts, colors, selectionDependentTools } from './features/editor/types';
export { useEditor } from './features/editor/hooks/use-editor';
export { useHistory } from './features/editor/hooks/use-history';
export { useAutoResize } from './features/editor/hooks/use-auto-resize';
export { useCanvasEvents } from './features/editor/hooks/use-canvas-events';
export { useClipboard } from './features/editor/hooks/use-clipboard';
export { useHotkeys } from './features/editor/hooks/use-hotkeys';
export { useLoadState } from './features/editor/hooks/use-load-state';
export { useWindowEvents } from './features/editor/hooks/use-window-events';
export { Toolbar } from './features/editor/components/toolbar';
export { Footer } from './features/editor/components/footer';
export { Navbar } from './features/editor/components/navbar';
export { Sidebar } from './features/editor/components/sidebar';
export { ColorPicker } from './features/editor/components/color-picker';
export { SettingsSidebar } from './features/editor/components/settings-sidebar';
export { ShapeSidebar } from './features/editor/components/shape-sidebar';
export { FillColorSidebar } from './features/editor/components/fill-color-sidebar';
export { StrokeColorSidebar } from './features/editor/components/stroke-color-sidebar';
export { StrokeWidthSidebar } from './features/editor/components/stroke-width-sidebar';
export { OpacitySidebar } from './features/editor/components/opacity-sidebar';
export { TextSidebar } from './features/editor/components/text-sidebar';
export { FontSidebar } from './features/editor/components/font-sidebar';
export { ImageSidebar } from './features/editor/components/image-sidebar';
export { ElementsSidebar } from './features/editor/components/elements-sidebar';
export { FilterSidebar } from './features/editor/components/filter-sidebar';
export { DrawSidebar } from './features/editor/components/draw-sidebar';
export { AiSidebar } from './features/editor/components/ai-sidebar';
export { TemplateSidebar } from './features/editor/components/template-sidebar';
export { BackgroundSidebar } from './features/editor/components/background-sidebar';
export { createFilter, downloadFile, isTextType, transformText } from './features/editor/utils';