Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
examples: [
{longMessage}
,
{longMessage}
,
{longMessage}
,
{longMessage}
,
],
},
{
id: 'dismissable',
title: 'Dismissable',
blurb: [
this.bannerAlerts = [
{
show: true,
message: 'Neutral alert with dismiss option.',
type: ALERT_TYPES.NEUTRAL,
},
{
show: true,
message: 'Successful alert with dismiss option.',
type: ALERT_TYPES.SUCCESS,
},
{
show: true,
message: 'Warn alert with dismiss option.',
type: ALERT_TYPES.WARN,
},
{
show: true,
message: 'Error alert with dismiss option.',
type: ALERT_TYPES.ERROR,
},
];
this.state = {
bannerAlerts: JSON.parse(JSON.stringify(this.bannerAlerts)),
dirty: false,
};
}
<option value="business">Business class</option>
<option value="first">First class</option>
,
],
readme: selectReadme,
},
{
id: 'docked-inputs-and-selects',
title: 'Docked inputs & selects',
blurb:
'Both inputs and selects can be docked together to build a one-line form.',
examples: [
<div>
</div>,
<form>
<div>
From
To
Depart
Return</div></form>