| @@ -6,8 +6,9 @@ | ||
| 6 | 6 | export interface SubmitButtonProps extends Omit<InputHTMLAttributes<HTMLInputElement>, 'id' | 'name' | 'value'> { |
| 7 | 7 | id?: string |
| 8 | 8 | name?: string |
| 9 | 9 | primary?: boolean |
| 10 | + secondary?: boolean | |
| 10 | 11 | small?: boolean |
| 11 | 12 | large?: boolean |
| 12 | 13 | wrap?: boolean |
| 13 | 14 | text?: string |
| @@ -17,8 +18,9 @@ | ||
| 17 | 18 | id, |
| 18 | 19 | text, |
| 19 | 20 | name = 'submit', |
| 20 | 21 | primary, |
| 22 | + secondary, | |
| 21 | 23 | small, |
| 22 | 24 | large, |
| 23 | 25 | wrap, |
| 24 | 26 | className, |
| @@ -33,8 +35,9 @@ | ||
| 33 | 35 | className={classnames( |
| 34 | 36 | 'button', |
| 35 | 37 | { |
| 36 | 38 | 'button-primary': primary, |
| 39 | + 'button-secondary': secondary, | |
| 37 | 40 | 'button-small': small, |
| 38 | 41 | 'button-large': large |
| 39 | 42 | }, |
| 40 | 43 | className |