Skip to content

ReadMore is not working with HTML children using react-native-render-html #37

@muhammadashfaq

Description

@muhammadashfaq

I am using react-native-render-html within ReadMore but not working.

<ReadMore
              numberOfLines={3}
              renderTruncatedFooter={renderTruncatedFooter}
              renderRevealedFooter={renderRevealedFooter}
              onReady={handleTextReady}>
              <HTML
                html={serviceDetail?.post_content}
                baseFontStyle={{
                  fontFamily: family.Montserrat_Regular,
                }}
              />
            </ReadMore>

Any solution ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions