-
Notifications
You must be signed in to change notification settings - Fork 24
Closed
Description
Prerequisites
Please answer the following questions for yourself before submitting an issue.
- [✓] I am running the latest version
- [✓] I checked the documentation and found no answer
- [✓] I checked to make sure that this issue has not already been filed
Describe the bug
I am trying to use RNNotificated to my personal proj, specifically i am trying to use it on a dark mode but somehow it's not changing to dark mode
import { createNotifications } from "react-native-notificated";
const { useNotifications } = createNotifications({
defaultStylesSettings: {
darkMode: false,
globalConfig: {
borderRadius: 5000,
},
},
});
const { notify } = useNotifications();
type NotificationStatus = "success" | "error" | "info" | "warning";
export const notifyToast = (
title: string,
description: string,
status: NotificationStatus
) => {
notify(status, {
params: {
title: title,
description: description,
},
});
};
Metadata
Metadata
Assignees
Labels
No labels