Skip to content

[tabs] Widen value type to any #81

@oliviertassinari

Description

@oliviertassinari

Summary

The value prop can be string or number https://mui.com/base-ui/react-tabs/components-api/#tab-prop-value but why not any? There don't seem to be limiting factors for this.

So I think we should widen the type on all tabs components, Base UI, Material UI, Joy UI to any when possible.

Motivation

mui/material-ui#40630

Search keywords: value type any

Metadata

Metadata

Assignees

No one assigned

    Labels

    component: tabsChanges related to the tabs component.type: enhancementIt’s an improvement, but we can’t make up our mind whether it's a bug fix or a new feature.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions