import React from 'react';
import { ComponentStory, ComponentMeta } from '@storybook/react';
import { OPIllustration, OPLayout } from '../../src/index';

export default {
  title: '组件/数据展示/OPIllustration',
  component: OPIllustration,
} as ComponentMeta<typeof OPIllustration>;

export const 插画: ComponentStory<typeof OPIllustration> = (): JSX.Element => {
  return (
    <OPLayout center>
      <OPIllustration src='https://img.alicdn.com/imgextra/i3/O1CN01OUMAU71ZUjLO2QQx9_!!6000000003198-2-tps-762-425.png'></OPIllustration>
    </OPLayout>
  );
};
