A11y: enable rule jsx-a11y/anchor-is-valid (#56690)

This commit is contained in:
Laura Fernández
2022-10-21 09:13:32 +02:00
committed by GitHub
parent 7eac79b5f8
commit e402a8f27d
23 changed files with 169 additions and 73 deletions

View File

@ -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;
`;
};