mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-15 04:29:37 +01:00
14 lines
440 B
TypeScript
14 lines
440 B
TypeScript
import { defuFn } from 'defu'
|
|
import type { ModuleOptions } from '../module'
|
|
import select from './select'
|
|
|
|
export default (options: Required<ModuleOptions>) => {
|
|
return defuFn({
|
|
slots: {
|
|
input: 'border-b border-default',
|
|
focusScope: 'flex flex-col min-h-0',
|
|
content: (content: string) => [content, 'origin-(--reka-combobox-content-transform-origin) w-(--reka-combobox-trigger-width)']
|
|
}
|
|
}, select(options))
|
|
}
|