storybook/addons/a11y/src/A11yManager.js
Norbert de Langen 88a8f00f00
Linting
2017-11-12 00:19:51 +01:00

15 lines
290 B
JavaScript

import React from 'react';
import WrapStory from './components/WrapStory';
// Run all a11y checks inside
class A11yManager {
wrapStory(channel, storyFn, context) {
const props = { context, storyFn, channel };
return <WrapStory {...props} />;
}
}
export default A11yManager;