UNPKG

kinetic-components

Version:

Use CSS animations or your favorite JS animation library to animate a single React component or orchestrate animations amongst a collection of React components.

13 lines (12 loc) 276 B
import React from 'react'; /** * * A component to toggle visibility */ declare const VisibleToggle: React.FC<{ children: (args: { isVisible: boolean; toggleVisible: () => void; }) => React.ReactElement; }>; export default VisibleToggle;