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

Label component disabled property doesn't apply styles #762

Closed
jananxd opened this issue May 25, 2023 · 0 comments · Fixed by #763
Closed

Label component disabled property doesn't apply styles #762

jananxd opened this issue May 25, 2023 · 0 comments · Fixed by #763

Comments

@jananxd
Copy link
Contributor

jananxd commented May 25, 2023

Describe the bug
Label component disabled property doesn't apply styles from the theme

To Reproduce
Steps to reproduce the behavior:
Create <Label /> component with disabled property

import { Label } from 'flowbite-react';
<Label disabled>Hello World!</Label>

or

import { Label } from 'flowbite-react';
<Label disabled={true}>Hello World!</Label>

Expected behavior
it should apply the disabled state styles from the theme

System information:

  • Device: N/A
  • Resolution: N/A
  • OS: Linux
  • Browser: Google Chrome
  • Version: 113.0.5672.63 (Official Build) (64-bit)

Project information:

  • Tailwind: 3.2.7
  • Flowbite: 1.6.4
  • Flowbite React: 0.4.2
  • Type: Vite

Additional context
N/A

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