Skip to content

support for style components  #127

Open
@SrwaHariri

Description

@SrwaHariri

i figured it out !

we can actually assign style component to it ,
my code setting :

 const ReactCodeInputStyling = styled(ReactCodeInput)`
border: 2px solid green;
`
    const props = {
        inputStyle: {
        width: '22px',
        height: '45px',
        margin: '0 2.5px',
        background: 'grey',
        fontSize: '32px',
        textAlign: 'center',
        textTransform: 'uppercase',
        border: '0',
        borderRadius: '2px',
      },
      }
<ReactCodeInputStyling fields={4}  type="string" {...props} />

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