Add styled ticket user dropdowns
This commit is contained in:
@@ -7,3 +7,4 @@ export * from './page-props';
|
||||
export * from './project-navigation';
|
||||
export * from './ticket-inline-edit';
|
||||
export * from './ui';
|
||||
export * from './user-select-dropdown';
|
||||
|
||||
@@ -0,0 +1,16 @@
|
||||
import type { UserModel } from '@/types/models/user-model';
|
||||
|
||||
export type UserSelectDropdownValue = number | string | null;
|
||||
|
||||
export type UserSelectDropdownProps = {
|
||||
editable: boolean;
|
||||
emptyLabel?: string;
|
||||
label: string;
|
||||
modelValue: UserSelectDropdownValue;
|
||||
users: UserModel[];
|
||||
};
|
||||
|
||||
export type UserSelectDropdownEmits = {
|
||||
commit: [value: number | string];
|
||||
'update:modelValue': [value: number | string];
|
||||
};
|
||||
Reference in New Issue
Block a user