mirror of
https://github.com/mue/mue.git
synced 2026-07-15 13:03:55 +02:00
feat: warning if item uses third-party API
- scrollbar accessibility improvements
This commit is contained in:
@@ -136,6 +136,18 @@ class Item extends PureComponent {
|
||||
);
|
||||
}
|
||||
|
||||
if (this.props.data.data.image_api === true) {
|
||||
itemWarning = (
|
||||
<div className="itemWarning">
|
||||
<MdOutlineWarning />
|
||||
<div className="text">
|
||||
<span className="header">Warning</span>
|
||||
<span>{variables.getMessage('modals.main.marketplace.product.third_party_api')}</span>
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
const moreInfoItem = (icon, header, text) => (
|
||||
<div className="infoItem">
|
||||
{icon}
|
||||
|
||||
Reference in New Issue
Block a user