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

<Button> `iconOnly` prop referenced in documentation does not exist in the component

Open SutuSebastian opened this issue 7 months ago • 2 comments

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.

SutuSebastian avatar Jul 12 '25 10:07 SutuSebastian

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.

raahed avatar Jul 14 '25 09:07 raahed

No, it is not. This prop does not exist anymore and it's a leftover from [email protected] release.

SutuSebastian avatar Jul 14 '25 09:07 SutuSebastian