I noticed the screenshot on the TextInput.Affix documentation page shows an incorrect screenshot. Am referring to page: TextInput.Affix from the documentation website for react-native-paper.
The screenshot shows an example from TextInput.Icon instead. Is this able to be fixed. The code in the example doesn't match the screenshot
but the code is
return (
<TextInput
mode="outlined"
label="Outlined input"
placeholder="Type something"
right={<TextInput.Affix text="/100" />} // This should show "/100" at the right of the input
/>
);
Expected behaviour
The screenshot on the page should show something like this with the /100 visible on the right. (Different placeholder but am just referring to the right attribute.)
Current behaviour
I noticed the screenshot on the
TextInput.Affix
documentation page shows an incorrect screenshot. Am referring to page: TextInput.Affix from the documentation website for react-native-paper.The screenshot shows an example from TextInput.Icon instead. Is this able to be fixed. The code in the example doesn't match the screenshot
but the code is
Expected behaviour
The screenshot on the page should show something like this with the
/100
visible on the right. (Different placeholder but am just referring to the right attribute.)How to reproduce?
Please see page https://callstack.github.io/react-native-paper/docs/components/TextInput/TextInputAffix
Preview
See above
What have you tried so far?
N/A
Your Environment
N/A