fix: ts
This commit is contained in:
parent
4f59f775ae
commit
0c656d21a2
|
|
@ -1,6 +1,6 @@
|
||||||
import { useState, useEffect } from 'react';
|
import { useState, useEffect, ReactNode } from 'react';
|
||||||
|
|
||||||
export default function GlowEffect({children}) {
|
export default function GlowEffect({ children }: { children: ReactNode }) {
|
||||||
const [isPropertyRegistered, setIsPropertyRegistered] = useState(false);
|
const [isPropertyRegistered, setIsPropertyRegistered] = useState(false);
|
||||||
|
|
||||||
// Register CSS property in component body (before render)
|
// Register CSS property in component body (before render)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue