UNPKG

vcc-ui

Version:

VCC UI is a collection of React UI Components that can be used for developing front-end applications at Volvo Car Corporation.

15 lines 437 B
import React from 'react'; import PropTypes from 'prop-types'; import { ThemeProvider as FelaThemeProvider } from 'react-fela'; export function ThemeProvider(_ref) { var theme = _ref.theme, children = _ref.children; return React.createElement(FelaThemeProvider, { theme: theme, overwrite: false }, children); } ThemeProvider.propTypes = { theme: PropTypes.object.isRequired, children: PropTypes.node.isRequired };