1
1
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:
NoriDev 2024-10-03 12:42:27 +09:00
parent 54b3cc2bcc
commit e37933ff21

View File

@ -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;