element-plus/packages/button/doc/index.stories.ts

11 lines
434 B
TypeScript
Raw Normal View History

export default {
title: 'Button',
}
export const NormalButton = (): string => '<el-button>With Text</el-button>'
export const ButtonTwo = (): string => '<el-button>button two</el-button>'
2020-08-04 11:20:52 +08:00
export const ButtonGroup = (): string => `<el-button-group>
2020-08-05 23:01:44 +08:00
<el-button type="primary" icon="el-icon-arrow-left">Left</el-button>
<el-button type="primary">Right<i class="el-icon-arrow-right el-icon--right"></i></el-button>
2020-08-04 11:20:52 +08:00
</el-button-group>`