make pretty
This commit is contained in:
@@ -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',
|
||||
}),
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user