joyent-portal/packages/cp-frontend/test/unit/mocks/theme.js
2017-06-07 10:27:33 +01:00

8 lines
218 B
JavaScript

import React from 'react';
import { ThemeProvider } from 'styled-components';
import { theme } from 'joyent-ui-toolkit';
export default ({ children }) => (
<ThemeProvider theme={theme}>{children}</ThemeProvider>
);