joyent-portal/packages/cp-frontend/test/unit/mocks/theme.js

7 lines
214 B
JavaScript
Raw Normal View History

import React from 'react';
import { ThemeProvider } from 'styled-components';
import { theme } from 'joyent-ui-toolkit';
2017-06-12 01:58:22 +03:00
export default ({ children }) =>
<ThemeProvider theme={theme}>{children}</ThemeProvider>;