2020-12-27 21:32:43 +00:00
|
|
|
import { defineComponent } from 'vue';
|
2020-05-28 20:55:03 +00:00
|
|
|
import './Select.scss';
|
|
|
|
|
|
|
|
export default defineComponent({
|
|
|
|
name: 'sb-select',
|
|
|
|
|
|
|
|
inheritAttrs: false,
|
|
|
|
|
|
|
|
setup(props, context) {
|
|
|
|
return () => (
|
|
|
|
<div class="sb-select">
|
|
|
|
<select
|
|
|
|
class="sb-select__input"
|
2020-12-30 01:32:46 +00:00
|
|
|
{...context.attrs}
|
2020-05-28 20:55:03 +00:00
|
|
|
>
|
|
|
|
{context.slots.default()}
|
|
|
|
</select>
|
|
|
|
</div>
|
|
|
|
);
|
|
|
|
},
|
|
|
|
});
|