-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore/546-handle-action-of-opening-usersnap-feedback-widget-on-the-custom-buttons #682
chore/546-handle-action-of-opening-usersnap-feedback-widget-on-the-custom-buttons #682
Conversation
CHANGELOG.md
Outdated
@@ -10,6 +10,7 @@ changes. | |||
|
|||
## [Unreleased] | |||
|
|||
- Inicjalize Usersnap into App [Issue 546](https://github.com/IntersectMBO/govtool/issues/546) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Typo: Inicjalize -> Inicialize
|
||
export const UsersnapContext = React.createContext(defaultValues); | ||
|
||
type API = { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Rename it to UsersnapAPI
as at least me - I often search the repo for the API - so to not confuse myself 😅
on: (eventName: SpaceEventName, callback: SpaceEventCallback) => void; | ||
off: (eventName: SpaceEventName, callback: SpaceEventCallback) => void; | ||
}; | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
type UsersnapProviderProps { | |
initParams?: InitOptions | |
children?: ReactNode | |
} | |
export const UsersnapProvider = ({ | |
initParams, | |
children | |
}: UsersnapProviderProps |
a99939a
to
0382ff4
Compare
List of changes
Checklist