@erosnicolau/animated-text
Version:
Advanced React animated text component with comprehensive animation effects
7 lines (6 loc) • 475 B
JavaScript
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
import { AnimationTypesTab, EffectsTab, EasingTab } from '..';
const DemoTabContent = ({ activeTab }) => {
return (_jsxs("div", { className: "max-w-4xl mx-auto bg-white rounded-lg border p-6 min-h-[400px]", children: [activeTab === 'types' && _jsx(AnimationTypesTab, {}), activeTab === 'effects' && _jsx(EffectsTab, {}), activeTab === 'easing' && _jsx(EasingTab, {})] }));
};
export default DemoTabContent;