mirror of
https://github.com/apache/superset.git
synced 2024-09-19 03:59:49 -04:00
b7cff8335b
* chore: Removes hard-coded colors from the plugins - iteration 1 * Fixes lint errors * Fixes tests
10 lines
251 B
JavaScript
10 lines
251 B
JavaScript
// themeDecorator.js
|
|
import React from 'react';
|
|
import { supersetTheme, ThemeProvider } from '@superset-ui/core';
|
|
|
|
const ThemeDecorator = Story => (
|
|
<ThemeProvider theme={supersetTheme}>{<Story />}</ThemeProvider>
|
|
);
|
|
|
|
export default ThemeDecorator;
|