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.
11 lines • 438 B
JavaScript
import React from 'react';
import { storiesOf } from '@storybook/react';
import { object } from '@storybook/addon-knobs/react';
import { Inline } from '../../index';
storiesOf('Core/Inline', module).addWithJSX('With Extend', function () {
return React.createElement(React.Fragment, null, "This is an", ' ', React.createElement(Inline, {
extend: object('extend', {
color: 'hotpink'
})
}, "inline"), ' ', "component");
});