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 bb9e790 commit 8ccd357
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 @@ -240,7 +240,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 @@ -255,7 +255,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 8ccd357

Please sign in to comment.