mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-03-25 07:44:32 +00:00
Looking at the library it's perfectly fine to pass a React node as a TextProp. The only exception to this is rowsText, since it's used inside of an <option> element where only a string can be passed. Also, because noDataText is wrapped in 'normalizeComponent' method, it can be passed both as a React component as well as a React node.