@bean-app/react-native-rich-editor
TypeScript icon, indicating that this package has built-in type declarations

0.1.37 • Public • Published

React Native Rich Editor - an Easy-to-use Rich Text Editor for React Native App

⚠️The project is still in the development phase and there may be some issues affecting the normal use.

Platforms Supported

  • [x] iOS
  • [x] Android
  • [x] Expo (Android, iOS)

Try It Now!

Try it now in Expo Go !

Open the camera app on your device and scan the code below:

Preview Build

App preview QR code

Release Build

App release QR code

Getting Started

Read our Getting Started Guide. If any step seems unclear, please create a detailed issue.

Install

$ yarn add @bean-app/react-native-rich-editor

(or)

For npm use

$ npm install --save @bean-app/react-native-rich-editor

Usage

Import the ReactNativeRichEditor component from @bean-app/react-native-rich-editor and use it like so:

import {
  Format,
  ReactNativeRichEditor,
  RichEditorToolBar,
} from '@bean-app/react-native-rich-editor';

// ...
const MyComponent = () => {
  return (
    <ReactNativeRichEditor
      height={height}
      width={width}
      defaultValue={[
        { insert: 'Hello ' },
        { insert: 'World!', attributes: { bold: true } },
        { insert: '\n' },
      ]}
    >
      <RichEditorToolBar tools={[]} />
    </ReactNativeRichEditor>
  );
};

Contributing

See the contributing guide to learn how to contribute to the repository and the development workflow.

License

MIT


Made with create-react-native-library

Package Sidebar

Install

npm i @bean-app/react-native-rich-editor

Weekly Downloads

54

Version

0.1.37

License

MIT

Unpacked Size

753 kB

Total Files

107

Last publish

Collaborators

  • paulxuca