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

11 lines
443 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>
<el-button type="primary" icon="el-icon-arrow-left"></el-button>
<el-button type="primary"><i class="el-icon-arrow-right el-icon--right"></i></el-button>
</el-button-group>`