PluginProbe
Code Snippets / trunk
Code Snippets vtrunk
4.0.0-beta.2 3.10.2 3.10.1 3.10.0 3.10.0-beta.2 3.10.0-beta.1 4.0.0-beta.1 3.9.6 trunk 2.10.0 2.10.1 2.12.0 2.12.1 2.13.0 2.13.1 2.13.2 2.13.3 2.14.0 2.14.1 2.14.2 2.14.3 2.14.4 2.14.5 2.14.6 3.0.0 All 65 releases
← All changes | js/components/common/SubmitButton.tsx +3 -0 3.9.6 → trunk View file →
@@ -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