import React from 'react'; import LayerEditor from '../src/components/LayerEditor'; import {action} from '@storybook/addon-actions'; import {withA11y} from '@storybook/addon-a11y'; import {latest} from '@mapbox/mapbox-gl-style-spec' export default { title: 'LayerEditor', component: LayerEditor, decorators: [withA11y], }; export const Background = () => (
{}} onLayerIdChange={() => {}} onMoveLayer={() => {}} onLayerDestroy={() => {}} onLayerCopy={() => {}} onLayerVisibilityToggle={() => {}} isFirstLayer={true} isLastLayer={false} layerIndex={0} />
); export const Fill = () => (
{}} onLayerIdChange={() => {}} onMoveLayer={() => {}} onLayerDestroy={() => {}} onLayerCopy={() => {}} onLayerVisibilityToggle={() => {}} isFirstLayer={true} isLastLayer={false} layerIndex={0} />
); export const Line = () => (
{}} onLayerIdChange={() => {}} onMoveLayer={() => {}} onLayerDestroy={() => {}} onLayerCopy={() => {}} onLayerVisibilityToggle={() => {}} isFirstLayer={true} isLastLayer={false} layerIndex={0} />
); export const Symbol = () => (
{}} onLayerIdChange={() => {}} onMoveLayer={() => {}} onLayerDestroy={() => {}} onLayerCopy={() => {}} onLayerVisibilityToggle={() => {}} isFirstLayer={true} isLastLayer={false} layerIndex={0} />
); export const Raster = () => (
{}} onLayerIdChange={() => {}} onMoveLayer={() => {}} onLayerDestroy={() => {}} onLayerCopy={() => {}} onLayerVisibilityToggle={() => {}} isFirstLayer={true} isLastLayer={false} layerIndex={0} />
); export const Cirlce = () => (
{}} onLayerIdChange={() => {}} onMoveLayer={() => {}} onLayerDestroy={() => {}} onLayerCopy={() => {}} onLayerVisibilityToggle={() => {}} isFirstLayer={true} isLastLayer={false} layerIndex={0} />
); export const FillExtrusion = () => (
{}} onLayerIdChange={() => {}} onMoveLayer={() => {}} onLayerDestroy={() => {}} onLayerCopy={() => {}} onLayerVisibilityToggle={() => {}} isFirstLayer={true} isLastLayer={false} layerIndex={0} />
); export const Heatmap = () => (
{}} onLayerIdChange={() => {}} onMoveLayer={() => {}} onLayerDestroy={() => {}} onLayerCopy={() => {}} onLayerVisibilityToggle={() => {}} isFirstLayer={true} isLastLayer={false} layerIndex={0} />
); export const Hillshade = () => (
{}} onLayerIdChange={() => {}} onMoveLayer={() => {}} onLayerDestroy={() => {}} onLayerCopy={() => {}} onLayerVisibilityToggle={() => {}} isFirstLayer={true} isLastLayer={false} layerIndex={0} />
);