mirror of
https://github.com/misode/misode.github.io.git
synced 2026-04-24 07:37:10 +00:00
Update to esm, update deepslate (#244)
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
import type { JSX } from 'preact'
|
||||
import { useCallback, useEffect } from 'preact/hooks'
|
||||
import type { JSXInternal } from 'preact/src/jsx'
|
||||
import { LOSE_FOCUS } from '../hooks'
|
||||
import { LOSE_FOCUS } from '../hooks/index.js'
|
||||
|
||||
const MODALS_KEY = 'data-modals'
|
||||
|
||||
interface Props extends JSXInternal.HTMLAttributes<HTMLDivElement> {
|
||||
interface Props extends JSX.HTMLAttributes<HTMLDivElement> {
|
||||
onDismiss: () => void,
|
||||
}
|
||||
export function Modal(props: Props) {
|
||||
|
||||
Reference in New Issue
Block a user