Skip to content

Can we pass multiple props to the text in TableCell component? #3

@Tsung-Jen

Description

@Tsung-Jen

Hello,
I would like to pass multiple props to the text attribute. Is it possible, and how to achieve it?

Example:
I want to pass data.page9.hypersensibility and data.page9.valueOfHypersensibility and separate them with a colon (:) as props to the text attribute below.

<ReactPdfTable.TableRow>
<ReactPdfTable.TableCell text={t("result.row2_header")} align="center" />
<ReactPdfTable.TableCell text={data.page9.hypersensibility: data.page9.valueOfHypersensibility} align="center" />
<ReactPdfTable.TableCell text="hello" align="center" />
</ReactPdfTable.TableRow>

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