<template>
  <kk-button plain @click="openCenter">Centered text</kk-button>
</template>

<script lang="ts" setup>
import { KkMessage, KkButton } from 'kankan-components'

const openCenter = () => {
  KkMessage({
    showClose: true,
    message: 'Centered text',
    center: true,
  })
}
</script>
