Skip to content

Commit 21dc332

Browse files
feat(text fields): added doc
1 parent 9ab1a99 commit 21dc332

File tree

1 file changed

+39
-0
lines changed

1 file changed

+39
-0
lines changed

README.md

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1166,6 +1166,45 @@ export const MyScreen = () => {
11661166
![snackbar with icon](https://ik.imagekit.io/Computools/rn-material-components/snackbar-with-icon.png?updatedAt=1704887400512)
11671167
![snackbar gif](https://ik.imagekit.io/Computools/rn-material-components/snackbar-gif.gif?updatedAt=1704887530020)
11681168
</details>
1169+
<details><summary>Text Inputs</summary>
1170+
<br />
1171+
1172+
**Properties**
1173+
1174+
| name | description | type | default |
1175+
| ------ | ------ | ------ | ---- |
1176+
| label | Required | string | - |
1177+
| disabled | - | boolean | - |
1178+
| errorText | - | string | - |
1179+
| suportingText | - | string | - |
1180+
| leadingIcon | - | React.FC<T> | - |
1181+
| trailingIcon | - | React.FC<T> | - |
1182+
| leadingIconProps | - | T | - |
1183+
| trailingIconProps | - | T | - |
1184+
| leadingComponent | - | ReactNode | - |
1185+
| trailingComponent | - | ReactNode | - |
1186+
| labelStyle | - | ViewStyle | - |
1187+
| supportingTextStyle | - | TextStyle | - |
1188+
| innerContainerStyle | - | ViewStyle | - |
1189+
| outerContainerStyle | - | ViewStyle | - |
1190+
| activeIndicatorStyle | - | ViewStyle | - |
1191+
| onOuterContainerLayout | - | (e: LayoutChangeEvent) => void | - |
1192+
1193+
<details><summary>Filled Input</summary>
1194+
<br />
1195+
1196+
![filled text input](https://ik.imagekit.io/Computools/rn-material-components/filled_text_input.png?updatedAt=1736357640156)
1197+
![filled text input animation](https://ik.imagekit.io/Computools/rn-material-components/filled_text_input.gif?updatedAt=1736357640313)
1198+
1199+
</deatils>
1200+
<details><summary>Outlined Input</summary>
1201+
<br />
1202+
1203+
![outlined text input](https://ik.imagekit.io/Computools/rn-material-components/outlined_text_input.png?updatedAt=1736357640133)
1204+
![outlined text input animation](https://ik.imagekit.io/Computools/rn-material-components/outlined-text-input.gif?updatedAt=1736357640468)
1205+
1206+
</deatils>
1207+
</deatils>
11691208
</deatils>
11701209

11711210
## Contributing

0 commit comments

Comments
 (0)