Skip to content

How to style internal component elements? #764

@marcodenic

Description

@marcodenic

Is your feature request related to a problem? Please describe.
When using a flowbite-react component (drop down menu), I want to style inner elements, specifically the div containing the ul which contains the dropdown items: <ul class="py-1">

I want to have control over these styles.. Why is it adding padding top and bottom which makes the options look weird?

Describe the solution you'd like
Id like a way for classNames to pass through to individual inner elements.. how else would you style these components?!

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