Skip to content

Commit 86a95c6

Browse files
committed
docs: style prop mention
1 parent c7b6d4f commit 86a95c6

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

docs/docs/core-functionalities/styling-the-input.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,14 @@ everything from the container's dimensions down to the color of a bullet point.
3939
/>
4040
```
4141

42+
## `style`
43+
44+
`style` accepts a subset of React Native's `TextStyle` - layout, appearance,
45+
and base typography - described by `EnrichedInputStyle`. Most of these map directly
46+
to their React Native `TextStyle` counterparts. Some are platform-limited
47+
(e.g. `shadowColor` is iOS-only, `elevation` is Android-only) - see the
48+
`EnrichedTextInput` reference for the full property list.
49+
4250
## `htmlStyle`
4351

4452
`htmlStyle` maps each supported element to a small config object. Anything you

0 commit comments

Comments
 (0)