feat: disable lint error

This commit is contained in:
crazywoola 2023-05-19 10:46:07 +08:00
parent 5a835a337c
commit 527328060a
1 changed files with 12 additions and 1 deletions

View File

@ -14,6 +14,17 @@ import {
import React from 'react'
import Modal from '@/app/components/base/modal'
declare global {
namespace JSX {
interface IntrinsicElements {
'em-emoji': React.DetailedHTMLProps<
React.HTMLAttributes<HTMLElement>,
HTMLElement
>;
}
}
}
init({ data })
const backgroundColors = [
@ -136,4 +147,4 @@ const EmojiPicker: FC<IEmojiPickerProps> = ({
</Modal> : <>
</>
}
export default EmojiPicker
export default EmojiPicker