Skip to content

How do you style the inner input?Β #169

@RichMatthews

Description

@RichMatthews

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions