Skip to content

[tabs] Can't extend variant prop. (bc: Tabs doesn't has TabsPropsVariantOverrides) #47583

Description

@nodirbekprogrammer

Steps to reproduce

Current behavior

I can extend Paper variant prop, because Paper has PaperPropsVariantOverrides in Paper.d.ts.
But can't extend Tabs, because Tabs doesn't has like this.

More clear:

Paper: variant?: OverridableStringUnion<'elevation' | 'outlined', PaperPropsVariantOverrides>;
Tabs: variant?: 'standard' | 'scrollable' | 'fullWidth';

Search keywords: tabs, extend types

Metadata

Metadata

Assignees

No one assigned

    Labels

    good first issueGreat for first contributions. Enable to learn the contribution process.scope: tabsChanges related to the tabs.type: enhancementIt’s an improvement, but we can’t make up our mind whether it's a bug fix or a new feature.typescript

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions