MCPcopy Create free account
hub / github.com/Openpanel-dev/openpanel / AnimateHeight

Function AnimateHeight

apps/start/src/components/animate-height.tsx:9–19  ·  view source on GitHub ↗
({ children, className, open }: Props)

Source from the content-addressed store, hash-verified

7};
8
9const AnimateHeight = ({ children, className, open }: Props) => {
10 return (
11 <ReactAnimateHeight
12 duration={300}
13 height={open ? 'auto' : 0}
14 className={className}
15 >
16 {children}
17 </ReactAnimateHeight>
18 );
19};
20
21export default AnimateHeight;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected