Skip to content

Commit 7bd3ed0

Browse files
authored
Update README.md
1 parent 80d1363 commit 7bd3ed0

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

README.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -185,6 +185,8 @@ Also be noticed that this example is writen with expo and required 'react-native
185185
| ImageComponent | a React component (class or functional) which will be used to render images. Will be passed `style` and `source` props. | No |
186186
| style | Styles applied to the outermost component. | No |
187187
| contentContainerStyle | Styles applied to the scrollview content. | No |
188+
| onFocus | Callback that is called when one of text inputs are focused. | No |
189+
| onBlur | Callback that is called when one of text inputs are blurred. | No |
188190

189191
#### Instance methods
190192

@@ -222,6 +224,16 @@ Also be noticed that this example is writen with expo and required 'react-native
222224
| selectedBackgroundColor | No | background color applied when icon is selected |
223225
| iconContainerStyle | No | a style prop assigned to icon container |
224226

227+
### CNRichTextView
228+
229+
#### Props
230+
231+
| Name | Required | Description |
232+
| ------ | ------ | ----------- |
233+
| text | Yes | html string (created by convertToHtmlString functino |
234+
| style | No | style applied to container (req. {flex:1}) |
235+
| styleList | No | an object consist of styles name and values (use getDefaultStyles function) |
236+
225237
### Functions
226238

227239
| Name | Param | Returns | Description |

0 commit comments

Comments
 (0)