joyent-portal/packages/my-joyent/test/mocks/theme.js

8 lines
218 B
JavaScript
Raw Normal View History

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