Skip to content

Conversation

b-gran
Copy link
Owner

@b-gran b-gran commented Oct 26, 2019

Primitive schema types now accept a render function, which handles rendering of cell.
This render function enables use of <textarea> for longer input fields.

The render function accepts the following parameters:

function render(
  type: SchemaType, 
  value: string | number | boolean, 
  onChange: (value: string | number | boolean) => void
): React.ReactNode

@b-gran b-gran mentioned this pull request Oct 26, 2019
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

Successfully merging this pull request may close these issues.

1 participant