Skip to content

Label component disabled property doesn't apply styles #762

@jananxd

Description

@jananxd

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions