flowbite-react icon indicating copy to clipboard operation
flowbite-react copied to clipboard

Refactor: formControls components must have its own folders

Open rluders opened this issue 2 years ago • 2 comments

Is your feature request related to a problem? Please describe. The way that the formControls are organized right now doesn't actually match the other component structure. We need to move it to a flat folder structure and keep it consistent with the rest of the components' structure.

Describe the solution you'd like Every component inside the formControls folder must be moved to its own folder at the components' root folder, and the main file for each component must be index.tsx.

Describe alternatives you've considered We could also keep the components in their own folders but instead move them to the components' root folder, and keep them inside the formControls folder. This would avoid some breaking changes, but IMHO, I would prefer to keep all the components in the same folder, even if it means breaking things, better doing it right now than later.

Additional context None.

rluders avatar Jun 15 '22 08:06 rluders

Do you mind if I do this? It's been bothering me lol

tulup-conner avatar Aug 01 '22 01:08 tulup-conner

@tulup-conner go ahead.

rluders avatar Aug 01 '22 06:08 rluders

@rluders All components have been refactored. Ready for review as part of #463. Thank you.

yurisldk avatar Dec 04 '22 15:12 yurisldk