Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
isIconOnly
text={backText}
variant={Button.Opts.Variants.UTILITY}
/>
);
const closeText = intl.formatMessage({ id: 'Terra.application.utility.close' });
const closeButton = (
<button>}
isCompact
isIconOnly
aria-describedby="utility-menu-header"
text={closeText}
variant={Button.Opts.Variants.UTILITY}
className={closeButtonClassNames}
/>
);
let headerText;
if (currentItem !== undefined) {
headerText = currentItem.title;
}
const header = (
<div>
<span>
<span>
{!firstPage && backButton}
<span aria-level="2" role="heading" id="utility-menu-header">{headerText}</span>
</span>
<span></span></span></div></button>
validate={required}
component={({ input }) => (
)}
/>
<button type="{Button.Opts.Types.SUBMIT}">
);
}
</button>
>
{({ input, meta }) => (
{ input.onChange(e.target.value); }}
inputAttrs={{ ...input }}
value={input.value}
required
/>
)}
<button type="{Button.Opts.Types.SUBMIT}">
);
}
</button>
{ input.onChange(e.target.value); }}
value={input.value}
required
/>
)}
<button type="{Button.Opts.Types.SUBMIT}">
{this.state.submittedValues
&& (
<div>
<p>Form Submitted Successfully With</p>
<pre>{JSON.stringify(this.state.submittedValues, 0, 2)}</pre>
</div>
)}
);
}
</button>
{({ input, meta }) => (
{ input.onChange(date); }}
/>
)}
<button type="{Button.Opts.Types.SUBMIT}">
);
}
</button>
{ input.onChange(e.target.value); }}
value={input.value}
required
/>
)}
<button type="{Button.Opts.Types.SUBMIT}">
);
}
</button>
{<h1>{title}</h1>}
<div>
<p>{message}</p>
</div>
<div>
<button>
</button><button>
</button></div>
<button>
);
}
}</button>
const themes = Object.keys(config.themes);
return (
)}
footer={(
<spacer>
<button> {
onChangeSettings({
locale,
theme,
direction,
}, disclosureManager.dismiss);
}}
/>
</button><button id="cancel"> {
disclosureManager.dismiss();
}}
/></button></spacer>
const ButtonAttrsToggleButton = () => (
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>
);
inputId="user-name"
label="User Name, requires at least 3 characters"
error={meta.error}
isInvalid={meta.error === 'Name is Unavailable'}
isIncomplete={meta.error === 'Not long enough' || meta.error === 'Required'}
inputAttrs={{
placeholder: 'Description',
...input,
}}
onChange={(e) => { input.onChange(e.target.value); }}
value={input.value}
required
/>
)}
<button type="{Button.Opts.Types.SUBMIT}">
);
}
</button>