Skip to content

Commit

Permalink
Update types for i18n
Browse files Browse the repository at this point in the history
Fixes #274
  • Loading branch information
simonwep committed May 13, 2021
1 parent 4a8c372 commit 83fdaf5
Showing 1 changed file with 15 additions and 4 deletions.
19 changes: 15 additions & 4 deletions types/pickr.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -91,10 +91,21 @@ declare namespace Pickr {
};
};

strings?: {
save?: string;
clear?: string;
cancel?: string;
i18n?: {
'ui:dialog'?: string;
'btn:toggle'?: string;
'btn:swatch'?: string;
'btn:last-color'?: string;
'btn:save'?: string;
'btn:cancel'?: string;
'btn:clear'?: string;
'aria:btn:save'?: string;
'aria:btn:cancel'?: string;
'aria:btn:clear'?: string;
'aria:input'?: string;
'aria:palette'?: string;
'aria:hue'?: string;
'aria:opacity'?: string;
}
}

Expand Down

0 comments on commit 83fdaf5

Please sign in to comment.