Storybook: Fix broken StatsPicker story (#24326)
* Fix non-story
* Update packages/grafana-ui/src/components/Badge/Badge.story.tsx
(cherry picked from commit 6a4bb556a5)
This commit is contained in:
committed by
Arve Knudsen
parent
92fa9a996d
commit
b1277a4869
@@ -3,7 +3,7 @@ import { boolean, text, select } from '@storybook/addon-knobs';
|
||||
import { Badge, BadgeColor } from './Badge';
|
||||
|
||||
export default {
|
||||
title: 'Other/Badge',
|
||||
title: 'Data Display/Badge',
|
||||
component: Badge,
|
||||
decorators: [],
|
||||
parameters: {
|
||||
|
||||
@@ -18,7 +18,7 @@ interface State {
|
||||
stats: string[];
|
||||
}
|
||||
|
||||
export class WrapperWithState extends PureComponent<any, State> {
|
||||
class WrapperWithState extends PureComponent<any, State> {
|
||||
constructor(props: any) {
|
||||
super(props);
|
||||
this.state = {
|
||||
|
||||
Reference in New Issue
Block a user