make pretty

This commit is contained in:
David Harris
2024-05-03 14:48:13 +01:00
parent a73901b200
commit b8f7c9ab86
3 changed files with 9 additions and 5 deletions
-3
View File
@@ -3725,9 +3725,6 @@ exports[`better eslint`] = {
[0, 0, 0, "Do not re-export imported variable (\`./localPlugin.mock\`)", "1"],
[0, 0, 0, "Do not use export all (\`export * from ...\`)", "2"]
],
"public/app/features/plugins/admin/components/Badges/PluginEnterpriseBadge.tsx:5381": [
[0, 0, 0, "\'HorizontalGroup\' import from \'@grafana/ui\' is restricted from being used by a pattern. Use Stack component instead.", "0"]
],
"public/app/features/plugins/admin/components/Badges/PluginUpdateAvailableBadge.tsx:5381": [
[0, 0, 0, "Styles should be written using objects.", "0"]
],
@@ -27,7 +27,14 @@ export function PluginEnterpriseBadge({ plugin }: Props): React.ReactElement {
return (
<Stack wrap={'wrap'}>
<PluginSignatureBadge status={plugin.signature} />
<Badge icon="lock" role="img" aria-label="lock icon" text="Enterprise" color="blue" className={customBadgeStyles} />
<Badge
icon="lock"
role="img"
aria-label="lock icon"
text="Enterprise"
color="blue"
className={customBadgeStyles}
/>
<Button size="sm" fill="text" icon="external-link-alt" onClick={onClick}>
Learn more
</Button>
@@ -152,7 +152,7 @@ export const getStyles = (theme: GrafanaTheme2) => {
color: theme.colors.text.primary,
margin: 0,
wordBreak: 'normal',
overflowWrap: 'anywhere'
overflowWrap: 'anywhere',
}),
};
};