sforkowany z mirror/soapbox
Snackbar: use 'ghost' theme button
rodzic
3e205a9610
commit
38c920e9e5
|
@ -38,7 +38,7 @@ const mapStateToProps = (state, { intl }) => {
|
||||||
if (notification.action) {
|
if (notification.action) {
|
||||||
const { action } = notification;
|
const { action } = notification;
|
||||||
notification.action = (
|
notification.action = (
|
||||||
<Button onClick={action} text={notification.actionLabel} />
|
<Button theme='ghost' onClick={action} text={notification.actionLabel} />
|
||||||
);
|
);
|
||||||
} else if (notification.actionLabel) {
|
} else if (notification.actionLabel) {
|
||||||
notification.action = (
|
notification.action = (
|
||||||
|
|
Ładowanie…
Reference in New Issue