Skip to content

Commit

Permalink
fix: update react render
Browse files Browse the repository at this point in the history
  • Loading branch information
atanasster committed Sep 8, 2020
1 parent 3c421dc commit b54890a
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
1 change: 1 addition & 0 deletions ui/blocks/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@
},
"devDependencies": {
"@component-controls/jest-snapshots": "^1.24.7",
"@component-controls/render": "^1.24.6",
"@component-controls/ts-markdown-docs": "^1.21.0",
"@theme-ui/presets": "^0.3.0",
"@types/lunr": "^2.3.3",
Expand Down
2 changes: 1 addition & 1 deletion ui/blocks/src/Playground/Playground.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ export const extraPanel = () => (
<Playground
actions={[
{
title: 'custom panel',
node: 'custom panel',
panel: <Donut value={1 / 2} />,
},
]}
Expand Down
6 changes: 5 additions & 1 deletion ui/blocks/src/test/storyStore.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,16 @@ import {
deepMerge,
defaultRunConfig,
} from '@component-controls/core';
import { render as reactRender } from '@component-controls/render/react';

import { MDXContent } from './MDXStory';

export const store: Store = {
...getDefaultStore(),
config: deepMerge(defaultBuildConfig, defaultRunConfig),
config: {
renderFn: reactRender,
...deepMerge(defaultBuildConfig, defaultRunConfig),
},
packages: {
'test-package': {
fileHash: '28feb04b2447384a0bd648387e62bbc7',
Expand Down

0 comments on commit b54890a

Please sign in to comment.