Open andrehadianto opened 3 months ago
You can pass class names to the character elements, see here: https://github.com/andreaswilli/react-verification-input?tab=readme-ov-file#custom-styling This allows you to use you own classes or use something like Tailwind.
Passing other props is currently not possible. Can you make an example of how you wanted to style the component?
As the title says, the
character-container
is not exposed as props. This forces the user to usecss
styling to customise thecharacter-container
's look.Having
character-container
exposed would be a great addition to this wonderful code input.A suggestion to the finalised prop: