themesberg / flowbite

Open-source UI component library and front-end development framework based on Tailwind CSS
https://flowbite.com
MIT License
7.73k stars 725 forks source link

Add missing argument description in the docs for tabs #775

Closed godnondsilva closed 8 months ago

godnondsilva commented 8 months ago

Problem In the tabs documentation page, under Javascript behaviour > Example and Javascript behaviour > TypeScript, the comments for creating a new Tabs object does not match the comments.

Screenshot image

Expected Result It should display the arguments in the comments with it's meaning and optionality respectively.

Solution Fix the missing comments similar to other pages.

@zoltanszogyenyi Please review.

zoltanszogyenyi commented 8 months ago

Hey @godnondsilva,

Thanks for the PR! Merged.