Skip to content

Commit

Permalink
add more colors to button types
Browse files Browse the repository at this point in the history
the added colors are already present in the css
  • Loading branch information
kaligrafy committed Apr 12, 2024
1 parent 0a7622d commit 762ee41
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/evolution-generator/src/types/inputTypes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ export type InputMultiselect = {
/* InputButton widgetConfig Type */
export type InputButtonBase = {
type: 'button';
color: 'green' | 'red';
color: 'green' | 'red' | 'blue' | 'grey';
hideWhenRefreshing: boolean;
icon: any;
// icon: IconProp | IconDefinition;
Expand All @@ -241,7 +241,7 @@ export type InputButton = InputButtonBase & {
shortname: string;
content: Label;
showConfirmButton?: boolean;
cancelButtonColor?: 'blue' | 'green';
cancelButtonColor?: 'green' | 'red' | 'blue' | 'grey';
cancelButtonLabel?: Label;
conditional?: Conditional;
};
Expand Down

0 comments on commit 762ee41

Please sign in to comment.