This repository was archived by the owner on Mar 16, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +8
-8
lines changed Expand file tree Collapse file tree 3 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -49,7 +49,7 @@ declare class ToastNotifications extends React.Component<
4949> { }
5050
5151const ToastNotificationsContext =
52- React . createContext < ToastNotificationsContextProps | null > ( null ) ;
52+ React . createContext < ToastNotificationsContextProps > ( ) ;
5353
5454interface ButtonProps extends React . ButtonHTMLAttributes < HTMLButtonElement > {
5555 children ?: React . ReactNode ;
@@ -267,7 +267,7 @@ interface ToastNotificationProps {
267267interface ToastNotificationsContextProps {
268268 notifications ?: ToastNotificationProps [ ] ;
269269 addNotification : (
270- text : string ,
270+ text : React . ReactNode | string ,
271271 config ?: {
272272 autoHide ?: number ;
273273 color ?: "info" | "error" | "success" | "warning" ;
Original file line number Diff line number Diff line change 11{
22 "name" : " cherry-components" ,
3- "version" : " 0.0.2-21 " ,
3+ "version" : " 0.0.2-22 " ,
44 "description" : " Cherry React Components" ,
55 "main" : " dist/cherry.js" ,
66 "module" : " dist/cherry.module.js" ,
3535 "@emotion/eslint-plugin" : " ^11.10.0" ,
3636 "@rollup/plugin-babel" : " ^6.0.3" ,
3737 "babel-eslint" : " ^10.1.0" ,
38- "eslint" : " ^8.32 .0" ,
38+ "eslint" : " ^8.33 .0" ,
3939 "eslint-plugin-prettier" : " ^4.2.1" ,
40- "eslint-plugin-react" : " ^7.32.1 " ,
40+ "eslint-plugin-react" : " ^7.32.2 " ,
4141 "eslint-plugin-react-hooks" : " ^4.6.0" ,
4242 "prettier" : " ^2.8.3" ,
43- "rollup" : " ^3.10 .1" ,
43+ "rollup" : " ^3.12 .1" ,
4444 "rollup-plugin-commonjs" : " ^10.1.0" ,
4545 "rollup-plugin-dts" : " ^5.1.1" ,
4646 "rollup-plugin-node-resolve" : " ^5.2.0" ,
You can’t perform that action at this time.
0 commit comments