MCPcopy Create free account
hub / github.com/alibaba/open-code-review / FadeInSectionProps

Interface FadeInSectionProps

pages/src/components/FadeInSection.tsx:6–9  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4import React, { useRef, useEffect, useState } from 'react';
5
6interface FadeInSectionProps {
7 children: React.ReactNode;
8 delay?: number; // ms
9}
10
11const FadeInSection: React.FC<FadeInSectionProps> = ({ children, delay = 0 }) => {
12 const ref = useRef<HTMLDivElement>(null);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected