Skip to content

Specify dropdownAlign to something else then any as it inherits the type from rc-trigger #497

@tlehtimaki

Description

@tlehtimaki

Currently in Select types the prop dropdownAlign is typed as any. But rc-trigger anyway has the type specified more specifically.

Here is types for popupAlign from rc-trigger:
https://github.com/react-component/trigger/blob/240f5a568bf7743c42065809f3c219a62856d8f7/src/interface.ts#L4-L42

Should we include the AlignType here? I think it would make sense.

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