@binder/editor
TypeScript icon, indicating that this package has built-in type declarations

1.0.15 • Public • Published

📓 binder-editor

npm version

📦 Installation

npm i @binder/editor

yarn add @binder/editor

🔨 Usage

import { BinderEditor, TopErrorBoundary } from "@binder/editor";
import { ThemeProvider, theme } from "@binder/ui";

const App = () => {
  return (
    <ThemeProvider theme={theme}>
      <TopErrorBoundary>
        <BinderEditor
          title={"Angiosperms"}
          actions={{
            backButton: {
              label: "Back",
              buttonProps: {
                onClick: () => alert("🚀🚀🚀🚀🚀🚀🚀"),
              },
            },
          }}
          toolbarProps={{
            textColor: {
              menuTitle: "Text color",
            },
            textBoxColor: {
              menuTitle: "Text box color",
            },
            textBoxStyle: {
              menuTitle: "Text box style",
            },
          }}
        />
      </TopErrorBoundary>
    </ThemeProvider>
  );
};

⬆️ Development directions

  1. Clone this repo: git clone https://github.com/marcelovicentegc/binder-editor.git
  2. cd into it: cd binder-editor
  3. Install its dependencies (use npm): npm i
  4. Run the application: npm start

🤝 Contributing

  1. Create your own branch from develop
  2. Make the changes you wish
  3. Write or rewrite the unit tests, if necessary
  4. Open a pull request pointing to develop
  5. That's it! 🤓

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.15
    2
    • latest

Version History

Package Sidebar

Install

npm i @binder/editor

Weekly Downloads

2

Version

1.0.15

License

MIT

Unpacked Size

336 kB

Total Files

162

Last publish

Collaborators

  • marcelovicentegc