Skip to content

Some props missing from TypeScript typings #47

@cvuorinen

Description

@cvuorinen

Seems like some props are missing from TypeScript typings, specifically the ones that are applicable to many different components, such as ripple, badge & shadow.

If I understand the implementation correctly, badge & shadow (as well as active & disabled) are applied to all components if the prop is present, even though they really make sense to use with only some specific circumstances. Where as ripple prop is only used to turn off the ripple effect on the components that have it specified with the ripple class property. Would probably make sense to only add typings to components where it makes sense to use these props regardless of the actual implementation? I can make a PR for this if it seems reasonable.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions