Skip to content

Commit bd44305

Browse files
committed
docs: update readme
1 parent 2c33f1f commit bd44305

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

README.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -41,12 +41,13 @@ yarn add -D @types/react-syntax-highlighter
4141

4242
### Props
4343

44-
| Prop | Description | Type | Optional |
45-
| ------------------------------------------------------------------------------------------------------ | -------------------------------------------------------------------------------- | ---------------------------------------- | -------- |
46-
| hljsStyle | Highlight.js style imported from `react-syntax-highlighter/dist/esm/styles/hljs` | `{ [key: string]: React.CSSProperties }` | false |
47-
| containerStyle | `containerStyle` for the underlying `ScrollView` | `StyleProp<br><ViewStyle>` | true |
48-
| textStyle | Style for the text components. Note: `color` property will be overridden | `StyleProp<TextStyle> | true |
49-
| [react-syntax-highlighter](https://github.com/react-syntax-highlighter/react-syntax-highlighter) Props | Props supported by react-syntax-highlighter | | |
44+
| Prop | Description | Type | Optional |
45+
| ------------------------------------------------------------------------------------------------------ | --------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------- | -------- |
46+
| hljsStyle | Highlight.js style imported from `react-syntax-highlighter/dist/esm/styles/hljs` | `{ [key: string]: React.CSSProperties }` | false |
47+
| textStyle | Style for the text components. Note: `color` property will be overridden | `StyleProp<TextStyle>` | true |
48+
| scrollViewProps | Props for the underlying scroll view. `horizontal` is ignored | [ScrollViewProps](https://reactnative.dev/docs/scrollview#props) | true |
49+
| containerStyle | Deprecated. `containerStyle` for the underlying `ScrollView`. Use scrollViewProps.contentContainerStyle instead | `StyleProp<br><ViewStyle>` | true |
50+
| [react-syntax-highlighter](https://github.com/react-syntax-highlighter/react-syntax-highlighter) Props | Props supported by react-syntax-highlighter | | |
5051

5152
### Example
5253

0 commit comments

Comments
 (0)