From 088f4927f07121be473e74379ce409de8c41ce5b Mon Sep 17 00:00:00 2001 From: Ashwin Ramaswami Date: Fri, 8 Mar 2019 15:44:01 -0800 Subject: [PATCH] fix: playground dependencies demos with plain text --- playground/samples/propertyDependencies.js | 26 +++++----------------- playground/samples/schemaDependencies.js | 10 ++------- 2 files changed, 8 insertions(+), 28 deletions(-) diff --git a/playground/samples/propertyDependencies.js b/playground/samples/propertyDependencies.js index 133f708ea0..efaba6e68d 100644 --- a/playground/samples/propertyDependencies.js +++ b/playground/samples/propertyDependencies.js @@ -1,5 +1,3 @@ -import React from "react"; - module.exports = { schema: { title: "Property dependencies", @@ -56,12 +54,8 @@ module.exports = { uiSchema: { unidirectional: { credit_card: { - "ui:help": ( -

- If you enter anything here then billing_address will - become required. -

- ), + "ui:help": + "If you enter anything here then billing_address will become required.", }, billing_address: { "ui:help": @@ -70,20 +64,12 @@ module.exports = { }, bidirectional: { credit_card: { - "ui:help": ( -

- "If you enter anything here then billing_address will - become required. -

- ), + "ui:help": + "If you enter anything here then billing_address will become required.", }, billing_address: { - "ui:help": ( -

- If you enter anything here then credit_card will become - required. -

- ), + "ui:help": + "If you enter anything here then credit_card will become required.", }, }, }, diff --git a/playground/samples/schemaDependencies.js b/playground/samples/schemaDependencies.js index 610d6dc635..90b8478c2b 100644 --- a/playground/samples/schemaDependencies.js +++ b/playground/samples/schemaDependencies.js @@ -1,5 +1,3 @@ -import React from "react"; - module.exports = { schema: { title: "Schema dependencies", @@ -110,12 +108,8 @@ module.exports = { uiSchema: { simple: { credit_card: { - "ui:help": ( -

- If you enter anything here then billing_address will be - dynamically added to the form. -

- ), + "ui:help": + "If you enter anything here then billing_address will be dynamically added to the form.", }, }, conditional: {