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

Interface FadeInSectionProps

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected