Skip to content

Spread/pass props on custom placeholders #92

Description

@burkeshartsis

When writing custom placeholders I would like my custom placeholder to have access to the props passed ReactPlaceholder. There are a number of ways you could make this intuitive but the easiest way would just be to pass down the ...rest here. An example usage would be... I have a custom placeholder and I want to pass an aria accessibility role as a prop on ReactPlaceholder like role={'progressbar'}.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions