Skip to content

Add types for "locale" prop #337

Closed
@pahuta

Description

@pahuta

There is a lack of type of "locale" prop. Will be nice that interface have only used properties.
For instance, I can pass

<Pagination
    current={4}
    total={20}
    locale={{
        // Options.jsx
        some_not_existed_property: 'not used'
    }}
/>

and TS compiler will not throw any errors.

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