schlechtenburg/packages/core/lib/components/internal/Button.tsx
2020-12-27 22:32:43 +01:00

23 lines
392 B
TypeScript

import { defineComponent } from 'vue';
import './Button.scss';
export default defineComponent({
name: 'sb-button',
inheritAttrs: false,
setup(props, context) {
return () => (
<button
class="sb-button"
{...{
attrs: context.attrs,
on: context.listeners,
}}
>
{context.slots.default()}
</button>
);
},
});