Skip to content

maxLines default value #32

@jasbindar-singh

Description

@jasbindar-singh

Problem: I have a use case where I want to show the whole string when the user clicks on Show More cta but maxLines prop default value caps it to 8 lines.
Temporary solution: I have a huge value on maxLines prop for now to fix that but it somehow seems very hacky
Question: Is there any other way I could achieve that like without having to specify a huge number for maxLines prop value

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