diff --git a/react/src/lib/FormSection/examples/FormSection.js b/react/src/lib/FormSection/examples/FormSection.js index 57d44b76c5..dc1497de8f 100644 --- a/react/src/lib/FormSection/examples/FormSection.js +++ b/react/src/lib/FormSection/examples/FormSection.js @@ -20,7 +20,7 @@ export default function FormSectionDefault() { disabled placeholder='Disabled Input' onChange={() => {}} - inputHelpText='Field Must be Disabled' + helpText='Field Must be Disabled' messageArr={[]} /> diff --git a/react/src/lib/FormSubSection/examples/default.js b/react/src/lib/FormSubSection/examples/default.js index 08bda97b90..9c8f308e76 100644 --- a/react/src/lib/FormSubSection/examples/default.js +++ b/react/src/lib/FormSubSection/examples/default.js @@ -17,7 +17,7 @@ export default function Default() { disabled placeholder="Disabled Input" onChange={() => {}} - inputHelpText="Field Must be Disabled" + helpText="Field Must be Disabled" messageArr={[]} /> diff --git a/react/src/lib/Input/examples/HelpText.js b/react/src/lib/Input/examples/HelpText.js index 8e8fc1222c..c0a6c3835b 100644 --- a/react/src/lib/Input/examples/HelpText.js +++ b/react/src/lib/Input/examples/HelpText.js @@ -8,7 +8,7 @@ export default function InputHelpText() { label='Help Text Input' htmlId='inputHelpText' containerSize='medium-6' - inputHelpText='This is help text for the input.' + helpText='This is help text for the input.' placeholder='With Placeholder' /> ); diff --git a/react/src/lib/Input/examples/KitchenSink.js b/react/src/lib/Input/examples/KitchenSink.js index cb39e89720..4df95bf5d1 100644 --- a/react/src/lib/Input/examples/KitchenSink.js +++ b/react/src/lib/Input/examples/KitchenSink.js @@ -187,7 +187,7 @@ export default class InputKitchenSink extends React.PureComponent { htmlId={`help${value}`} containerSize="small-12" placeholder="With Placeholder" - inputHelpText="Help Text" + helpText="Help Text" /> ); } -} \ No newline at end of file +} diff --git a/react/src/lib/Input/index.js b/react/src/lib/Input/index.js index 532125dcc3..cc00de4182 100644 --- a/react/src/lib/Input/index.js +++ b/react/src/lib/Input/index.js @@ -134,7 +134,7 @@ class Input extends React.Component { htmlId, id, inputClassName, - inputHelpText, + helpText, inputSize, isFilled, label, @@ -194,7 +194,7 @@ class Input extends React.Component { const inputElement = (
{inputLeft} @@ -255,14 +255,14 @@ class Input extends React.Component { } {inputElement} { - secondaryLabel && + secondaryLabel &&