mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
UI: Export sparkline from @grafana/ui and fix a broken storybook page (#47280)
* Chore: export sparkline from @grafana/ui * fix: add missing config to BigValue story * chore: tag Sparkline internal
This commit is contained in:
parent
49505b9a3b
commit
38c842cf4a
@ -71,6 +71,7 @@ export const Basic: Story<StoryProps> = ({
|
||||
name: '',
|
||||
values: new ArrayVector([1, 2, 3, 4, 3]),
|
||||
type: FieldType.number,
|
||||
state: { range: { min: 1, max: 4, delta: 3 } },
|
||||
config: {},
|
||||
},
|
||||
};
|
||||
|
@ -43,6 +43,7 @@ const defaultConfig: GraphFieldConfig = {
|
||||
axisPlacement: AxisPlacement.Hidden,
|
||||
};
|
||||
|
||||
/** @internal */
|
||||
export class Sparkline extends PureComponent<SparklineProps, State> {
|
||||
constructor(props: SparklineProps) {
|
||||
super(props);
|
||||
|
@ -84,6 +84,7 @@ export {
|
||||
BigValueJustifyMode,
|
||||
BigValueTextMode,
|
||||
} from './BigValue/BigValue';
|
||||
export { Sparkline } from './Sparkline/Sparkline';
|
||||
|
||||
export { Gauge } from './Gauge/Gauge';
|
||||
export { Graph } from './Graph/Graph';
|
||||
|
Loading…
Reference in New Issue
Block a user