mirror of
https://github.com/apache/superset.git
synced 2024-09-12 08:39:45 -04:00
* 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;
|