Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
render() {
return (
<>
<span style="{{">
{!this.props.readOnly && (
<span style="{{">
<button>
Save
</button>
</span>
)}
<span style="{{">
<button>
Reload
</button>
</span>
<span style="{{">
<button>
{this.props.readOnly ? 'Close' : 'Cancel'}
</button>
</span>
</span>
);
}
project={values.project}
noProjectsAvailable={projects.loaded && _.isEmpty(projects.data)}
/>
<button data-test-id="deploy-image-form-submit-btn" type="submit">
Create
</button>
<button type="button">
Cancel
</button>
);
render() {
return (
<button id="textAreaButton1">
Button
</button>
<textarea aria-label="textarea with buttons" id="textarea1" name="textarea1"> <Button variant={ButtonVariant.tertiary}>Button</Button>
</InputGroup>
<br />
<br />
<InputGroup>
<TextArea name="textarea2" id="textarea2" aria-label="textarea with button" />
<Button id="textAreaButton2" variant={ButtonVariant.tertiary}>
Button
</Button>
</InputGroup>
<br />
<br />
<InputGroup></textarea>
<button type="submit">
Create
</button>
<button type="button">
Cancel
</button>
);
}).result,
),
isDisabled: isLocked,
};
return (
<div>
<title size="lg">
Disks
</title>
{showStorages && (
<button>
{ADD_DISK}
</button>
)}
{showStorages && (
<>
<div>
</div>
{isBootDiskRequired && (</div>
project={values.project}
noProjectsAvailable={projects.loaded && _.isEmpty(projects.data)}
/>
<button data-test-id="import-git-create-button" type="submit">
Create
</button>
<button type="button">
Cancel
</button>
);
<button data-test-id="add-baremetal-host-form-submit-btn" type="submit">
Create
</button>
<button type="button">
Cancel
</button>
);
};
{showAlert && (
Click Save to save changes or Reload to cancel.
)}
<button type="{handleSubmit">
Save
</button>
<button type="button">
Reload
</button>
);
}).result,
),
isDisabled: isLocked,
};
return (
<div>
<title size="lg">
Network Interfaces
</title>
{showNetworks && (
<button>
{ADD_NETWORK_INTERFACE}
</button>
)}
{showNetworks && (
<>
{isBootNICRequired && (
</div>
isSecondary,
isTertiary,
isDanger,
isPlain,
isLink,
href,
...props
}) => (
);