You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Today we have a hook called useDialogRequest(), this returns a wrapper to be used with the actual component that will be the dialog inside it as a child. The reason its been done like this is to be able to provide props to the component. But a lot of the times you basically just have a stand alone dialog and don't need to pass it props. Then it would be nice to be able to do something like below:
Today we have a hook called
useDialogRequest()
, this returns a wrapper to be used with the actual component that will be the dialog inside it as a child. The reason its been done like this is to be able to provide props to the component. But a lot of the times you basically just have a stand alone dialog and don't need to pass it props. Then it would be nice to be able to do something like below:The text was updated successfully, but these errors were encountered: