feat: 反馈组件/Prompt

This commit is contained in:
peerless_hero
2023-07-11 04:06:15 +08:00
parent ebe27159e8
commit af84671272
2 changed files with 92 additions and 16 deletions

View File

@ -1,8 +1,8 @@
/*
* @Author: zhaojinfeng 121016171@qq.com
* @Date: 2023-06-25 15:55:08
* @LastEditors: zhaojinfeng 121016171@qq.com
* @LastEditTime: 2023-06-25 19:11:17
* @LastEditors: peerless_hero peerless_hero@outlook.com
* @LastEditTime: 2023-07-11 03:48:04
* @FilePath: \uni\stories\Prompt.stories.ts
* @Description:
*
@ -14,6 +14,17 @@ const meta = {
title: '反馈组件/Prompt',
component: Prompt,
tags: ['autodocs'],
args: {
show: true,
title: '审核意见',
placeholder: '审核意见必须填写',
confirmText: '提交',
textarea: '',
},
argTypes: {
onConfirm: { action: 'clicked' },
onCancel: { action: 'clicked' },
},
} satisfies Meta<typeof Prompt>
export default meta