@onehat/ui 0.3.98 → 0.3.99
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.
package/package.json
CHANGED
|
@@ -139,11 +139,14 @@ export default function withAlert(WrappedComponent) {
|
|
|
139
139
|
>Yes</Button>);
|
|
140
140
|
break;
|
|
141
141
|
case ALERT_MODE_YES_NO:
|
|
142
|
+
// TODO: need to create a new colorScheme so this can be black with blank background
|
|
142
143
|
buttons.push(<Button
|
|
143
144
|
key="noBtn"
|
|
144
145
|
onPress={onNo}
|
|
145
|
-
color="
|
|
146
|
+
color="trueGray.800"
|
|
146
147
|
variant="ghost"
|
|
148
|
+
colorScheme="neutral"
|
|
149
|
+
mr={2}
|
|
147
150
|
>No</Button>);
|
|
148
151
|
buttons.push(<Button
|
|
149
152
|
key="yesBtn"
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import {
|
|
2
2
|
Button,
|
|
3
3
|
Modal,
|
|
4
4
|
Text,
|
|
@@ -19,7 +19,7 @@ export default function ConfirmationMessage(props) {
|
|
|
19
19
|
<Text color="#000">{textMessage}</Text>
|
|
20
20
|
</Modal.Body>
|
|
21
21
|
<Modal.Footer py={2} pr={4}>
|
|
22
|
-
<Button variant="ghost" color="
|
|
22
|
+
<Button variant="ghost" color="trueGray.700" onPress={onCancel}>Cancel</Button>
|
|
23
23
|
<Button variant="ghost" color="primary.800" onPress={onOk}>OK</Button>
|
|
24
24
|
</Modal.Footer>
|
|
25
25
|
</Modal.Content>
|