mirror of
https://github.com/langgenius/dify.git
synced 2025-12-05 15:26:11 +00:00
14 lines
367 B
TypeScript
14 lines
367 B
TypeScript
|
|
// TypeScript type definitions for custom JSX elements
|
||
|
|
// Custom JSX elements for emoji-mart web components
|
||
|
|
|
||
|
|
import 'react'
|
||
|
|
|
||
|
|
declare module 'react' {
|
||
|
|
namespace JSX {
|
||
|
|
// eslint-disable-next-line ts/consistent-type-definitions
|
||
|
|
interface IntrinsicElements {
|
||
|
|
'em-emoji': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement>
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|