@talend/react-forms
Version:
React forms library based on json schema form.
14 lines (13 loc) • 420 B
TypeScript
export default shouldRender;
/**
*
* @example {
* '===': [{ var: 'my.path.title' }, 'Hello world'],
* }
*
* @param properties source of the value provider to evaluate conditions.
* @param condition array of conditions to evaluate.
* @param key the widget schema key.
* @returns true if the conditions are met, false otherwise.
*/
declare function shouldRender(condition: any, properties: any, key: any): any;