Improve dialog logic, add "asDialog" helper
This commit is contained in:
parent
822949408f
commit
a4feed24a8
10 changed files with 131 additions and 77 deletions
|
@ -1,5 +1,5 @@
|
|||
import React, { useContext } from 'react';
|
||||
import DialogContext from '@/components/elements/dialog/context';
|
||||
import { DialogContext } from './';
|
||||
import { useDeepCompareEffect } from '@/plugins/useDeepCompareEffect';
|
||||
|
||||
export default ({ children }: { children: React.ReactNode }) => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue