mirror of
https://github.com/kokonect-link/cherrypick
synced 2025-01-23 02:04:33 +09:00
enhance(frontend): os.actions에 caption 항목을 추가할 수 있음
This commit is contained in:
parent
54b3cc2bcc
commit
e37933ff21
@ -267,12 +267,14 @@ export function confirm(props: {
|
||||
export function actions<T extends {
|
||||
value: string;
|
||||
text: string;
|
||||
caption?: string | null;
|
||||
primary?: boolean,
|
||||
danger?: boolean,
|
||||
}[]>(props: {
|
||||
type: 'error' | 'info' | 'success' | 'warning' | 'waiting' | 'question';
|
||||
title?: string;
|
||||
text?: string;
|
||||
caption?: string | null;
|
||||
actions: T;
|
||||
}): Promise<{
|
||||
canceled: true; result: undefined;
|
||||
|
Loading…
Reference in New Issue
Block a user