React-table: Translate Options ?

Created on 13 Apr 2017  路  4Comments  路  Source: tannerlinsley/react-table

Hi, i'm french and my english is limited, so sorry.

I decide to use your component, great job ;)

I want to translate some word like "Previous", "rows" etc.. I know i can override their components but for just a translation, i think a translate option is a plus.

Thank you for your reading and your futur answers !

Most helpful comment

Hi, in props part, you can found:

{..., previousText: 'Previous', nextText: 'Next', loadingText: 'Loading...', noDataText: 'No rows found', pageText: 'Page', ofText: 'of', rowsText: 'rows' }

All 4 comments

My bad, RTFM sorry guys.

I have the same issue --> @JigsWeb where do I find this in the manual?

Hi, in props part, you can found:

{..., previousText: 'Previous', nextText: 'Next', loadingText: 'Loading...', noDataText: 'No rows found', pageText: 'Page', ofText: 'of', rowsText: 'rows' }

Cool, thank you!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

bdkersey picture bdkersey  路  3Comments

LeonHex picture LeonHex  路  3Comments

monarajhans picture monarajhans  路  3Comments

missmellyg85 picture missmellyg85  路  3Comments

danielmariz picture danielmariz  路  3Comments