mirror of
https://github.com/grafana/grafana.git
synced 2025-07-29 17:12:29 +08:00
A11y: enable rule jsx-a11y/anchor-is-valid (#56690)
This commit is contained in:
@ -302,3 +302,12 @@ export function getPropertiesForVariant(theme: GrafanaTheme2, variant: ButtonVar
|
||||
return getButtonVariantStyles(theme, theme.colors.primary, fill);
|
||||
}
|
||||
}
|
||||
|
||||
export const clearButtonStyles = (theme: GrafanaTheme2) => {
|
||||
return css`
|
||||
background: transparent;
|
||||
color: ${theme.colors.text.primary};
|
||||
border: none;
|
||||
padding: 0;
|
||||
`;
|
||||
};
|
||||
|
Reference in New Issue
Block a user