EmailCell template

This cell renders text value with the possibility to validate its value and wrap the result into React.ReactNode objects.


  • Open EmailCell implementation on github

Interface declaration

interface EmailCell extends Cell {
    type: 'email',
    text: string,
    validator?: (text: string) => boolean,
    renderer?: (text: string) => React.ReactNode
Property nameTypeProperty description
typeemailType of cell template
textstringText content of cell
validator?(text: string) => booleanOptional validation function, if undefined - returns true
renderer?(text: string) => React.ReactNodeOptional, gives oportunity to wrap text property into any ReactNode object