React 18 and Vite (#4510)
This commit is contained in:
parent
1bb1b13f6d
commit
21613fa602
244 changed files with 4547 additions and 8933 deletions
|
@ -1,13 +1,13 @@
|
|||
import React from 'react';
|
||||
import { createContext } from 'react';
|
||||
import { DialogContextType, DialogWrapperContextType } from './types';
|
||||
|
||||
export const DialogContext = React.createContext<DialogContextType>({
|
||||
export const DialogContext = createContext<DialogContextType>({
|
||||
setIcon: () => null,
|
||||
setFooter: () => null,
|
||||
setIconPosition: () => null,
|
||||
});
|
||||
|
||||
export const DialogWrapperContext = React.createContext<DialogWrapperContextType>({
|
||||
export const DialogWrapperContext = createContext<DialogWrapperContextType>({
|
||||
props: {},
|
||||
setProps: () => null,
|
||||
close: () => null,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue