import { IPublicTypeSnippet } from '@alilc/lowcode-types'; const snippets: IPublicTypeSnippet[] = [ { title: '文本卡片', screenshot: '', schema: { componentName: 'PisellCards.TextCard', props: { text: 'Tab title', variant: 'text', size: 'default', }, }, }, { title: '文本卡片(填充)', screenshot: '', schema: { componentName: 'PisellCards.TextCard', props: { text: 'Tab title', variant: 'filled', size: 'default', active: { value: true, }, }, }, }, { title: '文本卡片(带图标)', screenshot: '', schema: { componentName: 'PisellCards.TextCard', props: { text: 'Password', variant: 'text', size: 'default', prefixIcon: { type: 'JSSlot', value: [ { componentName: 'Icon', props: { type: 'BellOutlined', size: 16, }, }, ], }, suffixIcon: { type: 'JSSlot', value: [ { componentName: 'Icon', props: { type: 'ChevronDownOutlined', size: 16, }, }, ], }, }, }, }, { title: '文本卡片(带角标)', screenshot: '', schema: { componentName: 'PisellCards.TextCard', props: { text: 'Password', variant: 'text', size: 'default', badge: { type: 'number', content: 99, }, }, }, }, ]; export default snippets;