Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Button doesn't take a target="" props #644

Closed
fsioni opened this issue Mar 3, 2023 · 0 comments · Fixed by #631
Closed

Button doesn't take a target="" props #644

fsioni opened this issue Mar 3, 2023 · 0 comments · Fixed by #631

Comments

@fsioni
Copy link
Contributor

fsioni commented Mar 3, 2023

Describe the bug
On a Button, you can't add a target="" props.

To Reproduce
Steps to reproduce the behavior:

Add in a file :
<Button href="https://github.com/" target="_blank"> Placeholder </Button>

Expected behavior
It should not be a ts error. You could add target="_blank" to open the link in a new tab.

Screenshots

Button target props showing ts error type

Project information:

  • Tailwind: ^3.2.7
  • Flowbite: ^1.6.3
  • Flowbite React: ^0.3.8
  • Type: NextJS 13.2.1

Additional context
This issue was fixed in the PR : #631

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant