semiautomatix / flowbite-solid

Solid.js components built for Flowbite and Tailwind CSS
MIT License
0 stars 0 forks source link

Sweep: re-factor Textarea as a Solid.js component #38

Open semiautomatix opened 3 months ago

semiautomatix commented 3 months ago

Details

src/components/Textarea/Textarea.tsx is a component written in React.js, it must be modified to a Solid.js component. It is important that all functionality remain identical in the refactored implementation. Update the component's imports and structure to follow any other Solid.js patterns.

Use src/components/Checkbox/Checkbox.tsx as an example of a working Solid.js component that adheres to best principles.

Branch

No response

Checklist - [X] Modify `src/components/Textarea/Textarea.tsx` ✓ https://github.com/semiautomatix/flowbite-solid/commit/350d55d74b4190cc9f1becb40f2487d78391e51b [Edit](https://github.com/semiautomatix/flowbite-solid/edit/sweep/refactor_textarea_as_a_solidjs_component/src/components/Textarea/Textarea.tsx) - [X] Running GitHub Actions for `src/components/Textarea/Textarea.tsx` ✓ [Edit](https://github.com/semiautomatix/flowbite-solid/edit/sweep/refactor_textarea_as_a_solidjs_component/src/components/Textarea/Textarea.tsx)
sweep-windows[bot] commented 3 months ago

🚀 Here's the PR! #39

See Sweep's progress at the progress dashboard!
💎 Sweep Pro: I'm using GPT-4. You have unlimited GPT-4 tickets. (tracking ID: None)

[!TIP] I can email you next time I complete a pull request if you set up your email here!


Actions (click)


Step 1: 🔎 Searching

I found the following snippets in your repository. I will now analyze these snippets and come up with a plan.

Some code snippets I think are relevant in decreasing order of relevance (click to expand). If some file is missing from here, you can mention the path in the ticket description. https://github.com/semiautomatix/flowbite-solid/blob/054df2dc7053a2f8fda4d077bf813019aa28a774/src/components/Textarea/Textarea.tsx#L1-L43 https://github.com/semiautomatix/flowbite-solid/blob/054df2dc7053a2f8fda4d077bf813019aa28a774/src/components/Checkbox/Checkbox.tsx#L1-L40

Step 2: ⌨️ Coding