mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-05 06:01:22 +08:00
feat: expose withKnobs of addon-knobs from ondevice-knobs
This commit is contained in:
parent
2fc386ef56
commit
301faca9b0
@ -2,6 +2,8 @@ import React from 'react';
|
|||||||
import addons from '@storybook/addons';
|
import addons from '@storybook/addons';
|
||||||
import Panel from './panel';
|
import Panel from './panel';
|
||||||
|
|
||||||
|
export { withKnobs } from '@storybook/addon-knobs';
|
||||||
|
|
||||||
export function register() {
|
export function register() {
|
||||||
addons.register('RNKNOBS', () => {
|
addons.register('RNKNOBS', () => {
|
||||||
const channel = addons.getChannel();
|
const channel = addons.getChannel();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user