react-carousel-query
Version:
A infinite carousel component made with react that handles the pagination for you.
14 lines • 446 B
JavaScript
import React from 'react';
import { addons, types } from '@storybook/addons';
import { ADDON_ID } from './constants';
import { OutlineSelector } from './OutlineSelector';
addons.register(ADDON_ID, () => {
addons.add(ADDON_ID, {
title: 'Outline',
type: types.TOOL,
match: ({
viewMode
}) => !!(viewMode && viewMode.match(/^(story|docs)$/)),
render: () => /*#__PURE__*/React.createElement(OutlineSelector, null)
});
});