npm.io
1.0.33 • Published 16h ago

@ethberry/mui-lexical

Licence
MIT
Version
1.0.33
Deps
19
Size
783 kB
Vulns
0
Weekly
0

mui-lexical

Installation

npm run install

Storybook Configuration

Storybook is configured to work with:

  • Webpack 5 - bundler
  • TypeScript - type checking
  • Material-UI - UI library
  • Emotion - CSS-in-JS
  • Lexical Editor - rich text editor

Running

npm run storybook

Storybook will be available at: http://localhost:6006

Build

npm run build-storybook

Structure

  • .storybook/main.ts - main Storybook configuration
  • .storybook/preview.ts - preview settings (MUI Theme Provider)
  • .storybook/manager.ts - Storybook UI settings

Stories

Stories are located in src/**/*.stories.tsx

Example: src/components/LexicalEditorWrapper/LexicalEditorWrapper.stories.tsx

Keywords