@grafana/ui
Version:
Grafana Components Library
17 lines (16 loc) • 591 B
TypeScript
import { GrafanaTheme } from '@grafana/data';
import { StyleProps } from '../Button';
export declare const getFocusStyle: (theme: GrafanaTheme) => string;
export declare const sharedInputStyle: (theme: GrafanaTheme, invalid?: boolean) => string;
export declare const inputSizes: () => {
sm: string;
md: string;
lg: string;
auto: string;
};
export declare const inputSizesPixels: (size: string) => "auto" | "200px" | "320px" | "580px";
export declare const getPropertiesForButtonSize: (props: StyleProps) => {
padding: string;
fontSize: string;
height: number;
};