diff --git a/packages/grafana-ui/src/components/LoadingBar/LoadingBar.tsx b/packages/grafana-ui/src/components/LoadingBar/LoadingBar.tsx new file mode 100644 index 00000000000..c07e3356216 --- /dev/null +++ b/packages/grafana-ui/src/components/LoadingBar/LoadingBar.tsx @@ -0,0 +1,40 @@ +import { css } from '@emotion/css'; +import React, { CSSProperties, ReactNode } from 'react'; + +import { GrafanaTheme2 } from '@grafana/data'; + +import { useStyles2, useTheme2 } from '../../themes'; +import { IconName } from '../../types/icon'; +import { Dropdown } from '../Dropdown/Dropdown'; +import { Icon } from '../Icon/Icon'; +import { IconButton, IconButtonVariant } from '../IconButton/IconButton'; +import { PopoverContent, Tooltip } from '../Tooltip'; + +/** + * @internal + */ +export interface LoadingBarProps { + width: number; + height: number; + ariaLabel?: string; + barColor?: string; +} + +/** + * @internal + */ +export const LoadingBar: React.FC = ({ + width, + height, + ariaLabel = 'Loading bar', + barColor = 'blue', +}) => { + const theme = useTheme2(); + const styles = useStyles2(getStyles); + + return
; +}; + +const getStyles = (theme: GrafanaTheme2) => { + return {}; +};