We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0af3972 commit 0f769b5Copy full SHA for 0f769b5
src/components/TextInput/TextInput.tsx
@@ -37,7 +37,13 @@ export type Props = React.ComponentPropsWithRef<typeof NativeTextInput> & {
37
* This component render TextInputOutlined or TextInputFlat based on that props
38
*/
39
mode?: 'flat' | 'outlined';
40
+ /**
41
+ * The adornment placed on the left side of the input. It can be either `TextInput.Icon` or `TextInput.Affix`.
42
+ */
43
left?: React.ReactNode;
44
45
+ * The adornment placed on the right side of the input. It can be either `TextInput.Icon` or `TextInput.Affix`.
46
47
right?: React.ReactNode;
48
/**
49
* If true, user won't be able to interact with the component.
0 commit comments