You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 31, 2023. It is now read-only.
The motivation is to allow end users to customize the default - e.g., to look at field types on schemas to automatically format by type. We could maybe also pass fields or even a "schemaField" equivalent (the destructed props there) as param 4
The text was updated successfully, but these errors were encountered:
for more context, these were recently written which partially duplicate functionality in ResultTable, but also provide way more intelligent defaults which should drastically reduce the number of times we need a display function:
This line: https://github.com/smartprocure/contexture-react/blob/master/src/exampleTypes/ResultTable.js#L288
Replace the
x => x
with a parameterized default display function. Also passfield
as the third param here: https://github.com/smartprocure/contexture-react/blob/master/src/exampleTypes/ResultTable.js#L290The motivation is to allow end users to customize the default - e.g., to look at field types on schemas to automatically format by type. We could maybe also pass
fields
or even a "schemaField" equivalent (the destructed props there) as param 4The text was updated successfully, but these errors were encountered: