title: react native zss rich text editor toolbar actions does not work
body: <p>I have developed the Rich Text editor using react-native-zss-rich-text-editor but the toolbar actions does not work, who know how to fixed it? Thank you. Below is the code:</p>
  
  <pre><code>&lt;RichTextToolbar
   getEditor={() =&gt; this.richtext}
   actions={defaultActions} // &lt;= this actions does not work
   iconTint='black'
   selectedButtonStyle={{backgroundColor:'yellow'}}
  /&gt;
  </code></pre>
  
  <p>the defaultActions got defined in RichTextToolbar.js:</p>
  
  <pre><code>const defaultActions = [
    actions.insertImage,
    actions.setBold,
    actions.setItalic,
    actions.insertBulletsList,
    actions.insertOrderedList,
    actions.insertLink
  ];
  </code></pre>
  
  <p>This also got defined as the constants at here:</p>
  
  <pre><code>export const actions = {
  ...
  setBold: 'bold',
  setItalic: 'italic',
  ...
  insertImage: 'INST_IMAGE',
  ...
  insertBulletsList: 'unorderedList',
  insertOrderedList: 'orderedList',
  insertLink: 'INST_LINK',
  ...
  }
  </code></pre>
  
  <p>...switch case here:</p>
  
  <pre><code>switch(action) {
   case actions.setBold:
   case actions.setItalic:
   case actions.insertBulletsList:
   case actions.insertOrderedList:
   case actions.insertImage:
    this.state.editor.prepareInsert();
     if(this.props.onPressAddImage) {
      this.props.onPressAddImage();
     }
   break;
  </code></pre>
  
  <p>But the actions does not work, please help and I will appreciate it. Thanks. I m using this library from the Github:</p>
  
  <p><a href="https://github.com/wix/react-native-zss-rich-text-editor" rel="nofollow noreferrer">https://github.com/wix/react-native-zss-rich-text-editor</a></p>