@sikka/hawa 0.0.11 → 0.0.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (84) hide show
  1. package/es/index.es.js +1 -1
  2. package/lib/index.js +1 -1
  3. package/package.json +3 -3
  4. package/src/blocks/Account/{UserProfile.js → UserProfileForm.js} +16 -7
  5. package/src/blocks/Account/UserSettingsForm.js +13 -0
  6. package/src/blocks/Account/index.js +2 -2
  7. package/src/blocks/AuthForms/NewPasswordForm.js +1 -1
  8. package/src/blocks/AuthForms/ResetPasswordForm.js +1 -1
  9. package/src/blocks/AuthForms/SignInForm.js +10 -11
  10. package/src/blocks/AuthForms/SignUpForm.js +2 -1
  11. package/src/blocks/Payment/ChargeWalletForm.js +40 -37
  12. package/src/blocks/Payment/CreditCardForm.js +50 -45
  13. package/src/blocks/Payment/PayWithWallet.js +17 -7
  14. package/src/blocks/Payment/SelectPayment.js +8 -9
  15. package/src/blocks/Pricing/PricingPlans.js +47 -0
  16. package/src/{ui → elements}/ActionButton.js +0 -0
  17. package/src/elements/AdaptiveButton.js +32 -0
  18. package/src/{ui → elements}/AutoCompleteField.js +0 -0
  19. package/src/{ui → elements}/DragDropImages.js +0 -0
  20. package/src/{ui → elements}/Hawa.js +0 -0
  21. package/src/{ui → elements}/HawaAlert.js +0 -0
  22. package/src/{ui → elements}/HawaButton.js +0 -0
  23. package/src/{ui → elements}/HawaCheckbox.js +0 -0
  24. package/src/{ui → elements}/HawaInputLabel.js +0 -0
  25. package/src/{ui → elements}/HawaLogoButton.js +0 -0
  26. package/src/elements/HawaPricingCard.js +115 -0
  27. package/src/elements/HawaRadio.js +30 -0
  28. package/src/elements/HawaSettingsRow.js +27 -0
  29. package/src/elements/HawaSwitch.js +6 -0
  30. package/src/{ui → elements}/HawaTextArea.js +0 -0
  31. package/src/{ui → elements}/HawaTextField.js +0 -0
  32. package/src/{ui → elements}/HawaTypography.js +0 -0
  33. package/src/{ui → elements}/RadioBox.js +0 -0
  34. package/src/{ui → elements}/Row.js +0 -0
  35. package/src/{ui → elements}/SelectedField.js +0 -0
  36. package/src/{ui → elements}/StyledTooltip.js +0 -0
  37. package/src/{ui → elements}/TabPanel.js +0 -0
  38. package/src/{ui → elements}/index.js +1 -1
  39. package/src/stories/BlocksStories/Account/UserProfile.stories.js +21 -0
  40. package/src/stories/BlocksStories/Account/UserSettings.stories.js +55 -0
  41. package/src/stories/BlocksStories/Auth/NewPassword.stories.js +60 -0
  42. package/src/stories/BlocksStories/Auth/ResetPassword.stories.js +59 -0
  43. package/src/stories/BlocksStories/Auth/SignIn.stories.js +89 -0
  44. package/src/stories/BlocksStories/Auth/SignUp.stories.js +90 -0
  45. package/src/stories/BlocksStories/Payment/ChargeWallet.stories.js +30 -0
  46. package/src/stories/BlocksStories/Payment/PayWithCreditCard.stories.js +37 -0
  47. package/src/stories/BlocksStories/Payment/PayWithWallet.stories.js +17 -0
  48. package/src/stories/BlocksStories/{PaymentForm.stories.js → Payment/PaymentSelection.stories.js} +12 -23
  49. package/src/stories/BlocksStories/Pricing/BillingPlans.stories.js +46 -0
  50. package/src/stories/BlocksStories/Pricing/LandingPlans.stories.js +45 -0
  51. package/src/stories/ElementsStories/AdaptiveButton.stories.js +51 -0
  52. package/src/stories/{UIStories → ElementsStories}/Alert.stories.js +1 -1
  53. package/src/stories/{UIStories → ElementsStories}/InputLabel.stories.js +1 -1
  54. package/src/stories/ElementsStories/ItemCard.stories.js +18 -0
  55. package/src/stories/ElementsStories/LogoButtons.stories.js +73 -0
  56. package/src/stories/ElementsStories/PricingCard.stories.js +91 -0
  57. package/src/stories/ElementsStories/RadioSelector.stories.js +36 -0
  58. package/src/stories/ElementsStories/SettingsRow.stories.js +63 -0
  59. package/src/stories/{UIStories → ElementsStories}/TextField.stories.js +1 -1
  60. package/src/stories/LayoutStories/Box.stories.js +10 -24
  61. package/src/styles.css +1 -0
  62. package/storybook-static/iframe.html +1 -1
  63. package/storybook-static/index.html +1 -1
  64. package/storybook-static/main.e382d866.iframe.bundle.js +1 -0
  65. package/storybook-static/vendors~main.5eab66d3.iframe.bundle.js +76 -0
  66. package/storybook-static/{vendors~main.f8d30727.iframe.bundle.js.LICENSE.txt → vendors~main.5eab66d3.iframe.bundle.js.LICENSE.txt} +0 -0
  67. package/storybook-static/vendors~main.5eab66d3.iframe.bundle.js.map +1 -0
  68. package/src/blocks/Account/UserSettings.js +0 -14
  69. package/src/stories/BlocksStories/AuthForm.stories.js +0 -171
  70. package/src/stories/BlocksStories/UserForm.stories.js +0 -27
  71. package/src/stories/UIStories/ActionButton.stories.js +0 -41
  72. package/src/stories/UIStories/AdaptiveButton.stories.js +0 -76
  73. package/src/stories/UIStories/CheckBox.stories.js +0 -34
  74. package/src/stories/UIStories/LogoButtons.stories.js +0 -86
  75. package/src/stories/UIStories/RadioSelector.stories.js +0 -50
  76. package/src/stories/UIStories/SettingsRow.stories.js +0 -51
  77. package/src/themes/HawaProvider.js +0 -192
  78. package/src/themes/QawaimTheme.js +0 -199
  79. package/src/ui/AdaptiveButton.js +0 -131
  80. package/src/ui/HawaRadio.js +0 -64
  81. package/src/ui/HawaSettingsRow.js +0 -45
  82. package/storybook-static/main.b00949db.iframe.bundle.js +0 -1
  83. package/storybook-static/vendors~main.f8d30727.iframe.bundle.js +0 -76
  84. package/storybook-static/vendors~main.f8d30727.iframe.bundle.js.map +0 -1
@@ -1,192 +0,0 @@
1
- import { createTheme } from "@mui/system";
2
- // import { createContext } from "react";
3
-
4
- // //make the text color of the action buttons different from the text color of the layout
5
- // let allPrimaryBG = "#f90900";
6
- // let allPrimaryAction = "#B20D30";
7
- // export const defaultTheme = {
8
- // allPrimaryBG: "#f90900",
9
- // allPrimaryAction: "#138A36",
10
- // allBorderRadius: 10,
11
- // borderRadius: 10,
12
- // primaryColor: "blue",
13
- // secondaryColor: "grey",
14
- // // primaryActionColor: '#f72585', //Colors of the buttons
15
- // primaryActionColor: "grey", //Colors of the buttons
16
- // secondaryActionColor: "#4cc9f0", //Colors of the buttons
17
- // layoutColor: "#d3d4d9", //Colors of boxes and cards
18
- // textColor: "black", //Colors of text everywhere
19
- // inputColor: "white", //Color of input fields
20
- // lightBackground: "#FBF5F3", //
21
- // darkBackground: "#0F0E0E",
22
- // testcolor: "green",
23
- // margins: 10,
24
- // paddings: 10,
25
- // typography: {
26
- // fontFamily: ["IBMPlex"].join(","),
27
- // primary: { color: "black" },
28
- // secondary: { color: "white" }
29
- // },
30
- // logoButton: {
31
- // primary: {
32
- // borderRadius: 10,
33
- // backgroundColor: allPrimaryAction,
34
- // // margin: 10,
35
- // marginTop: 10,
36
- // padding: 30,
37
- // paddingTop: 0,
38
- // paddingBottom: 0,
39
- // border: "1px solid #ced4da",
40
- // height: 50,
41
- // "&:focus": {
42
- // borderColor: allPrimaryAction
43
- // }
44
- // },
45
- // secondary: {
46
- // borderRadius: 10,
47
- // backgroundColor: "#f90900",
48
- // marginTop: 10,
49
- // padding: 30,
50
- // paddingTop: 0,
51
- // paddingBottom: 0,
52
- // border: "1px solid #ced4da",
53
- // height: 50,
54
- // "&:focus": {
55
- // borderColor: "green"
56
- // }
57
- // }
58
- // },
59
- // actionButton: {
60
- // primary: {
61
- // borderRadius: 10,
62
- // // backgroundColor: "#f90900",
63
- // backgroundColor: allPrimaryAction,
64
- // color: "white",
65
- // margin: 10,
66
- // padding: 10,
67
- // border: "1px solid #ced4da",
68
- // fontSize: 16,
69
- // height: 50,
70
- // "&:focus": {
71
- // borderColor: "red"
72
- // }
73
- // },
74
- // secondary: {
75
- // borderRadius: 10,
76
- // margin: 10,
77
- // padding: 10,
78
- // backgroundColor: "#FF8811",
79
- // color: "black"
80
- // }
81
- // },
82
- // layout: {
83
- // primary: {
84
- // backgroundColor: "#d3d4d9",
85
- // color: "black",
86
- // margin: 10,
87
- // padding: 10,
88
- // borderRadius: 10
89
- // },
90
- // secondary: {
91
- // backgroundColor: "#001E3C",
92
- // // backgroundColor: "red",
93
- // color: "white",
94
- // margin: 10,
95
- // padding: 10,
96
- // borderRadius: 10
97
- // }
98
- // },
99
- // inputFields: {
100
- // primary: {
101
- // backgroundColor: "white",
102
- // borderRadius: 10,
103
- // padding: 10,
104
- // "&:hover": {
105
- // borderColor: "red",
106
- // borderWidth: 1,
107
- // outline: "1px solid black"
108
- // }
109
- // },
110
- // secondary: {
111
- // backgroundColor: "white",
112
- // borderRadius: 10,
113
- // padding: 10
114
- // }
115
- // },
116
- // alerts: {
117
- // primary: {
118
- // marginBottom: 10,
119
- // padding: 10,
120
- // borderRadius: 10
121
- // },
122
- // secondary: {
123
- // marginBottom: 10,
124
- // padding: 10,
125
- // borderRadius: 10
126
- // }
127
- // },
128
- // settingsRow: {
129
- // primary: {
130
- // display: "flex",
131
- // flexDirection: "row",
132
- // justifyContent: "space-between",
133
- // alignItems: "center",
134
- // backgroundColor: "#F5F5F5",
135
- // margin: 0,
136
- // padding: 10,
137
- // borderRadius: 10
138
- // },
139
- // secondary: {
140
- // display: "flex",
141
- // flexDirection: "row",
142
- // justifyContent: "space-between",
143
- // alignItems: "center",
144
- // backgroundColor: "blue",
145
- // margin: 0,
146
- // padding: 5,
147
- // borderRadius: 10
148
- // }
149
- // },
150
- // radioSelector: {
151
- // primary: {
152
- // padding: 10,
153
- // borderRadius: 10
154
- // },
155
- // secondary: {
156
- // padding: 10,
157
- // borderRadius: 10
158
- // }
159
- // }
160
- // };
161
-
162
- export const QawaimTheme = createTheme({
163
- components: {
164
- MuiButton: {
165
- variants: [
166
- {
167
- props: { variant: "withLogo" },
168
- style: {
169
- textTransform: "none",
170
- border: `2px solid blue`,
171
- backgroundColor: "red"
172
- }
173
- },
174
- {
175
- props: { variant: "dashed", color: "secondary" },
176
- style: {
177
- border: `4px dashed red`
178
- }
179
- }
180
- ]
181
- },
182
- MuiButton: {
183
- styleOverrides: {
184
- // Name of the slot
185
- root: {
186
- // Some CSS
187
- fontSize: "3rem"
188
- }
189
- }
190
- }
191
- }
192
- });
@@ -1,199 +0,0 @@
1
- import { createTheme } from "@mui/system";
2
- // import { createContext } from "react";
3
-
4
- // //make the text color of the action buttons different from the text color of the layout
5
- // let allPrimaryBG = "#f90900";
6
- // let allPrimaryAction = "#B20D30";
7
- // export const defaultTheme = {
8
- // allPrimaryBG: "#f90900",
9
- // allPrimaryAction: "#138A36",
10
- // allBorderRadius: 10,
11
- // borderRadius: 10,
12
- // primaryColor: "blue",
13
- // secondaryColor: "grey",
14
- // // primaryActionColor: '#f72585', //Colors of the buttons
15
- // primaryActionColor: "grey", //Colors of the buttons
16
- // secondaryActionColor: "#4cc9f0", //Colors of the buttons
17
- // layoutColor: "#d3d4d9", //Colors of boxes and cards
18
- // textColor: "black", //Colors of text everywhere
19
- // inputColor: "white", //Color of input fields
20
- // lightBackground: "#FBF5F3", //
21
- // darkBackground: "#0F0E0E",
22
- // testcolor: "green",
23
- // margins: 10,
24
- // paddings: 10,
25
- // typography: {
26
- // fontFamily: ["IBMPlex"].join(","),
27
- // primary: { color: "black" },
28
- // secondary: { color: "white" }
29
- // },
30
- // logoButton: {
31
- // primary: {
32
- // borderRadius: 10,
33
- // backgroundColor: allPrimaryAction,
34
- // // margin: 10,
35
- // marginTop: 10,
36
- // padding: 30,
37
- // paddingTop: 0,
38
- // paddingBottom: 0,
39
- // border: "1px solid #ced4da",
40
- // height: 50,
41
- // "&:focus": {
42
- // borderColor: allPrimaryAction
43
- // }
44
- // },
45
- // secondary: {
46
- // borderRadius: 10,
47
- // backgroundColor: "#f90900",
48
- // marginTop: 10,
49
- // padding: 30,
50
- // paddingTop: 0,
51
- // paddingBottom: 0,
52
- // border: "1px solid #ced4da",
53
- // height: 50,
54
- // "&:focus": {
55
- // borderColor: "green"
56
- // }
57
- // }
58
- // },
59
- // actionButton: {
60
- // primary: {
61
- // borderRadius: 10,
62
- // // backgroundColor: "#f90900",
63
- // backgroundColor: allPrimaryAction,
64
- // color: "white",
65
- // margin: 10,
66
- // padding: 10,
67
- // border: "1px solid #ced4da",
68
- // fontSize: 16,
69
- // height: 50,
70
- // "&:focus": {
71
- // borderColor: "red"
72
- // }
73
- // },
74
- // secondary: {
75
- // borderRadius: 10,
76
- // margin: 10,
77
- // padding: 10,
78
- // backgroundColor: "#FF8811",
79
- // color: "black"
80
- // }
81
- // },
82
- // layout: {
83
- // primary: {
84
- // backgroundColor: "#d3d4d9",
85
- // color: "black",
86
- // margin: 10,
87
- // padding: 10,
88
- // borderRadius: 10
89
- // },
90
- // secondary: {
91
- // backgroundColor: "#001E3C",
92
- // // backgroundColor: "red",
93
- // color: "white",
94
- // margin: 10,
95
- // padding: 10,
96
- // borderRadius: 10
97
- // }
98
- // },
99
- // inputFields: {
100
- // primary: {
101
- // backgroundColor: "white",
102
- // borderRadius: 10,
103
- // padding: 10,
104
- // "&:hover": {
105
- // borderColor: "red",
106
- // borderWidth: 1,
107
- // outline: "1px solid black"
108
- // }
109
- // },
110
- // secondary: {
111
- // backgroundColor: "white",
112
- // borderRadius: 10,
113
- // padding: 10
114
- // }
115
- // },
116
- // alerts: {
117
- // primary: {
118
- // marginBottom: 10,
119
- // padding: 10,
120
- // borderRadius: 10
121
- // },
122
- // secondary: {
123
- // marginBottom: 10,
124
- // padding: 10,
125
- // borderRadius: 10
126
- // }
127
- // },
128
- // settingsRow: {
129
- // primary: {
130
- // display: "flex",
131
- // flexDirection: "row",
132
- // justifyContent: "space-between",
133
- // alignItems: "center",
134
- // backgroundColor: "#F5F5F5",
135
- // margin: 0,
136
- // padding: 10,
137
- // borderRadius: 10
138
- // },
139
- // secondary: {
140
- // display: "flex",
141
- // flexDirection: "row",
142
- // justifyContent: "space-between",
143
- // alignItems: "center",
144
- // backgroundColor: "blue",
145
- // margin: 0,
146
- // padding: 5,
147
- // borderRadius: 10
148
- // }
149
- // },
150
- // radioSelector: {
151
- // primary: {
152
- // padding: 10,
153
- // borderRadius: 10
154
- // },
155
- // secondary: {
156
- // padding: 10,
157
- // borderRadius: 10
158
- // }
159
- // }
160
- // };
161
-
162
- export const QawaimTheme = createTheme({
163
- components: {
164
- MuiButton: {
165
- styleOverrides: {
166
- // Name of the slot
167
- root: {
168
- // Some CSS
169
- fontSize: "1rem"
170
- }
171
- },
172
- variants: [
173
- {
174
- props: { variant: "withLogo" },
175
- style: {
176
- textTransform: "none",
177
- border: `2px solid blue`,
178
- backgroundColor: "red"
179
- }
180
- },
181
- {
182
- props: { variant: "dashed", color: "secondary" },
183
- style: {
184
- border: `4px dashed red`
185
- }
186
- }
187
- ]
188
- },
189
- MuiButton: {
190
- styleOverrides: {
191
- // Name of the slot
192
- root: {
193
- // Some CSS
194
- fontSize: "3rem"
195
- }
196
- }
197
- }
198
- }
199
- });
@@ -1,131 +0,0 @@
1
- import React, { useState } from "react";
2
- import Button from "@mui/material/Button";
3
- import Tooltip from "@mui/material/Tooltip";
4
- import PropTypes from "prop-types";
5
- import { StyledTooltip } from "./StyledTooltip";
6
- import { getTextColor } from "../util";
7
-
8
- export const AdaptiveButton = (props) => {
9
- const { showText } = props;
10
-
11
- const [tooltip, setTooltip] = useState(false);
12
- const [hovered, setHovered] = useState(false);
13
- //full button
14
- if (showText) {
15
- return (
16
- <Button
17
- disableRipple
18
- disabled={props.disabled}
19
- aria-label={props.buttonLabel}
20
- color={props.danger ? "secondary" : "primary"}
21
- onClick={props.handleClick}
22
- style={{
23
- backgroundColor: theme.primaryColor,
24
- // borderRadius: theme.borderRadius,
25
- padding: theme.paddings,
26
- color: getTextColor(theme.primaryColor)
27
- // color: hovered
28
- // ? "#ffffff"
29
- // : props.danger
30
- // ? "#f50057"
31
- // : "var(--blue)"
32
- }}
33
- >
34
- {props.icon}
35
- {props.showText ? (
36
- <span style={{ marginLeft: props.icon ? 5 : 0 }}>
37
- {props.buttonLabel}
38
- </span>
39
- ) : null}
40
- </Button>
41
- );
42
- } else if (props.buttonLabelOnly) {
43
- return (
44
- <>
45
- <Tooltip
46
- placement={screenSize.width > 400 ? "bottom-center" : "top-center"}
47
- enterTouchDelay={100}
48
- title={
49
- props.hint ? (
50
- props.hint
51
- ) : (
52
- <div>
53
- <div
54
- style={{
55
- fontSize: 20,
56
- fontWeight: 800,
57
- padding: 10,
58
- paddingBottom: 5,
59
- textAlign: "center"
60
- }}
61
- >
62
- {props.hintTitle}
63
- </div>
64
- <div
65
- style={{
66
- fontSize: 13,
67
- fontWeight: 100,
68
- padding: 10,
69
- textAlign: "center"
70
- }}
71
- >
72
- {props.hintContent}
73
- </div>
74
- </div>
75
- )
76
- }
77
- >
78
- <Button
79
- disabled={props.disabled}
80
- size="small"
81
- disableRipple
82
- aria-label={props.buttonLabel}
83
- onClick={props.handleClick}
84
- color={props.danger ? "secondary" : "primary"}
85
- style={{
86
- padding: 10,
87
- color: hovered
88
- ? "#ffffff"
89
- : props.danger
90
- ? "#f50057"
91
- : "var(--blue)"
92
- }}
93
- >
94
- {props.buttonLabel}
95
- </Button>
96
- </Tooltip>
97
- </>
98
- );
99
- } else {
100
- //icon only
101
- return (
102
- <StyledTooltip hintTitle="Example" hintContent="More explaination here">
103
- <Button
104
- disabled={props.disabled}
105
- size="small"
106
- disableRipple
107
- aria-label={props.buttonLabel}
108
- onClick={props.handleClick}
109
- color={props.danger ? "secondary" : "primary"}
110
- style={{
111
- padding: 10,
112
- color: hovered
113
- ? "#ffffff"
114
- : props.danger
115
- ? "#f50057"
116
- : "var(--blue)"
117
- }}
118
- >
119
- {props.icon}
120
- </Button>
121
- </StyledTooltip>
122
- );
123
- }
124
- };
125
-
126
- AdaptiveButton.propTypes = {
127
- buttonLabel: PropTypes.string,
128
- danger: PropTypes.bool,
129
- disabled: PropTypes.bool,
130
- showText: PropTypes.bool
131
- };
@@ -1,64 +0,0 @@
1
- import { Typography } from "@mui/material";
2
- import React from "react";
3
- import { Box } from "../layout";
4
-
5
- export const HawaRadio = (props) => {
6
- // if (currentTheme) {
7
- // radioSelectorStyle = {
8
- // ...hawaTheme.radioSelector[currentTheme],
9
- // "-moz-user-select": "-moz-none",
10
- // "-khtml-user-select": "none",
11
- // "-webkit-user-select": "none",
12
- // "-ms-user-select": "none",
13
- // "user-select": "none"
14
- // };
15
- // } else {
16
- // radioSelectorStyle = {
17
- // display: "flex",
18
- // flexDirection: "row",
19
- // justifyContent: "space-between",
20
- // alignItems: "center",
21
- // backgroundColor: "#F5F5F5",
22
- // margin: 0,
23
-
24
- // backgroundColor: "lightGrey",
25
- // color: "black",
26
- // padding: 10
27
- // };
28
- // }
29
-
30
- return (
31
- <Box horizontal maxWidth={"fit-content"}>
32
- {props.options.map((singleOption) => {
33
- return (
34
- <div
35
- key={singleOption.label}
36
- onClick={() => {
37
- setValue(singleOption.label);
38
- if (props.handleChange) {
39
- props.handleChange();
40
- }
41
- }}
42
- style={{
43
- ...radioSelectorStyle,
44
- backgroundColor:
45
- value.toLowerCase() === singleOption.label.toLowerCase()
46
- ? currentTheme
47
- ? hawaTheme.actionButton[currentTheme]?.backgroundColor
48
- : "black"
49
- : hawaTheme?.layout[currentTheme]?.backgroundColor,
50
- color:
51
- value.toLowerCase() === singleOption.label.toLowerCase()
52
- ? hawaTheme.actionButton[currentTheme]?.color
53
- : currentTheme
54
- ? hawaTheme?.layout[currentTheme]?.color
55
- : "black"
56
- }}
57
- >
58
- <Typography>{singleOption.text}</Typography>
59
- </div>
60
- );
61
- })}
62
- </Box>
63
- );
64
- };
@@ -1,45 +0,0 @@
1
- import React from "react";
2
-
3
- import PropTypes from "prop-types";
4
- import { Box } from "../layout";
5
- import Checkbox from "@mui/material/Checkbox";
6
- import TextField from "@mui/material/TextField";
7
- import { HawaTypography } from "./HawaTypography";
8
- export const HawaSettingsRow = (props) => {
9
-
10
-
11
- return (
12
- <Box noColor>
13
- {props.settingsType === "checkbox" && (
14
- <div style={{ ...settingsRowStyle }}>
15
- <HawaTypography>Checkbox Label</HawaTypography> <Checkbox />
16
- </div>
17
- )}
18
- {props.settingsType === "text" && (
19
- <div style={{ ...settingsRowStyle }}>
20
- Text Label{" "}
21
- <TextField
22
- InputProps={{
23
- style: {
24
- ...hawaTheme.inputFields[currentTheme],
25
- // borderRadius: 0,
26
- // padding: 0,
27
- // backgroundColor: "white",
28
- height: 40
29
- }
30
- }}
31
- style={{
32
- padding: 0
33
- }}
34
- placeholder="test"
35
- />
36
- </div>
37
- )}
38
- </Box>
39
- );
40
- };
41
-
42
- HawaSettingsRow.propTypes = {
43
- type: PropTypes.oneOf(["text", "number", "password"]),
44
- helperText: PropTypes.string
45
- };