Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Tsung-Jen opened this issue Nov 24, 2022 · 0 comments
Open

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

Tsung-Jen opened this issue Nov 24, 2022 · 0 comments

Comments

@Tsung-Jen
Copy link

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>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant