import type { Meta, StoryObj } from '@storybook/react'

import { LxPullUp } from './'

// More on how to set up stories at: https://storybook.js.org/docs/react/writing-stories/introduction
const meta = {
  title: '基础组件/LxPullUp',
  component: LxPullUp,
  argTypes: {
  }
} satisfies Meta<typeof LxPullUp>

export default meta
type Story = StoryObj<typeof meta>

/**
 * 请求中
 */
export const BasicLoading = {
  args: {
    loading: true,
    loadingText: '正在加载'
  }
} satisfies Story

/**
 * 请求完成，没有更多数据
 */
export const NoMoreData = {
  args: {
    loading: false,
    noMore: true,
    noMoreText: '暂无更多数据'
  }
} satisfies Story
