Skip to content

Commit 62a4f16

Browse files
committed
docs: fix props in readme
1 parent bd44305 commit 62a4f16

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -41,13 +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-
| 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 | | |
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 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<ViewStyle>` | true |
50+
| [react-syntax-highlighter](https://github.com/react-syntax-highlighter/react-syntax-highlighter) Props | Props supported by react-syntax-highlighter. i.e. `language` | | |
5151

5252
### Example
5353

0 commit comments

Comments
 (0)