flowbite-react
flowbite-react copied to clipboard
<Button> `iconOnly` prop referenced in documentation does not exist in the component
Discussed in https://github.com/themesberg/flowbite-react/discussions/1530
Originally posted by goodpixels February 11, 2025
Property iconOnly mentioned here is not implemented in the component.
Is this prop really required for displaying only icons in a button?
From my point of view, the button's spacing looks fine as long as the icon has a defined height and width. I would recommend removing the mention of the iconOnly property from the documentation but keeping the section to provide an example of a button without text.
No, it is not. This prop does not exist anymore and it's a leftover from [email protected] release.