Skip to content

Commit bd99a61

Browse files
committed
fix valid feature.tsx for react import
1 parent aa7d89a commit bd99a61

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/components/Features.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { BarChart3, Users, Search, Zap, Shield, Globe } from 'lucide-react';
2-
import type { ReactNode } from 'react';
2+
import type { CSSProperties, ReactNode } from 'react';
33

44
type TerminalHeadingProps = {
55
title: string;
@@ -37,7 +37,7 @@ const TerminalHeading = ({
3737
return (
3838
<HeadingTag
3939
className={`inline-flex items-center gap-2 text-balance text-[#c9d1d9] ${headingSizes[HeadingTag]} ${className}`}
40-
style={animated ? ({ '--terminal-chars': chars } as React.CSSProperties) : undefined}
40+
style={animated ? ({ '--terminal-chars': chars } as CSSProperties) : undefined}
4141
>
4242
<span
4343
className={`font-["VT323"] text-[#58a6ff] ${animated ? 'terminal-typewriter inline-block' : ''} ${promptClassName}`}

0 commit comments

Comments
 (0)