Socket
Socket
Sign inDemoInstall

@binder/editor

Package Overview
Dependencies
102
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @binder/editor

[![npm version](https://badge.fury.io/js/%40binder%2Feditor.svg)](https://www.npmjs.com/package/@binder/editor)


Version published
Maintainers
1
Install size
872 kB
Created

Readme

Source

📓 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! 🤓

FAQs

Last updated on 29 Feb 2020

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc