We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I'm passing in my styles object like so:
const styles = { border: '1px solid #ff5a5f', borderRadius: '5px', color: '#ff5a5f', padding: '7px', margin: '5px', textAlign: 'center', outline: 'none', cursor: 'default', } <AutosizeInput value={ppl} onChange={(e) => onChange(e, index)} style={styles} />
but this just styles the outer wrapping div
how do I style the inner input?
The text was updated successfully, but these errors were encountered:
I was wondering the same thing. There is no documentation on this, yet the example shows padding on the inner input.
Sorry, something went wrong.
Ah, I just took a look at the examples. Turns out you have to use the inputStyle or inputClassName props: <AutosizeInput inputStyle={styles} />
inputStyle
inputClassName
<AutosizeInput inputStyle={styles} />
No branches or pull requests
I'm passing in my styles object like so:
but this just styles the outer wrapping div
how do I style the inner input?
The text was updated successfully, but these errors were encountered: