自定义按钮

# 自定义按钮

# 用法

default primary success info warning danger

通过type 区分不同场景

<template>
    <x-button>default</x-button>
    <x-button type="primary">primary</x-button>
    <x-button type="success">success</x-button>
    <x-button type="info">info</x-button>
    <x-button type="warning">warning</x-button>
    <x-button type="danger">danger</x-button>
</template>
Expand Copy