Skip to content

Rename show preview by default prop name #227

Open
@HarshDobariya79

Description

@HarshDobariya79

Current Scenario

  • If we want to make the preview shown by default, we've to use the visible prop.
  • The problem with this prop is that it's not easy to understand and search, so If we search "prev", the visible prop won't be there in the typescript suggestions and no examples are there in the documentation from which one can easily find the way to show the preview by default.

Changes

  • We can rename the prop from visible to something else which contains the word preview in it so it's easy to find from the typescript suggestions.
  • Also we can add some examples for this in the documentation.

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