Skip to content

🕹️ The Ultimate Editor UI Framework and Components

License

Notifications You must be signed in to change notification settings

RaoHai/pro-editor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ant Design ProEditor

🌟 An Editor UI Framework and Components

Changelog · Report Bug · Request Feature

NPM version NPM downloads install size

Test CI status Deploy CI Coverage

contributors forks stargazers issues

 docs by dumi Build With father

📦 Install

This component library is pure ESM.

Install via npm:

$ npm install @ant-design/pro-editor

Install via pnpm:

$ pnpm add @ant-design/pro-editor

🔨 Usage

import { SmileOutlined } from '@ant-design/icons';
import { ActionIcon } from '@ant-design/pro-editor';

export default () => (
  <ActionIcon
    title={'Function button description'}
    icon={<SmileOutlined />}
    onClick={() => {
      alert('Trigger action');
    }}
  />
);

Adapt to NextJS

To adapt to nextjs's SSR mode, you need to add the relevant dependencies of this package to the transpilePackages configuration in next.config.js:

// next.config.js
const nextConfig = {
  // ...other config
  transpilePackages: ['@ant-design/pro-editor', 'leva'],
};

⌨️ Development

$ git clone [email protected]:ant-design/pro-editor.git
$ cd pro-editor
$ npm install
$ npm start

Open your browser and visit http://localhost:8000

🤝 Contributing PRs Welcome

📊 Total: 7

📝 License

Copyright © 2023 - present AFX & Ant Digital
This project is MIT licensed.

About

🕹️ The Ultimate Editor UI Framework and Components

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 98.2%
  • JavaScript 1.8%