reactbits-mcp-server
Version:
MCP Server for React Bits - Access 99+ React components with animations, backgrounds, and UI elements
32 lines (28 loc) • 963 B
JavaScript
import { generateCliCommands } from '@/utils/utils';
import code from '@content/Animations/TargetCursor/TargetCursor.jsx?raw';
import css from '@content/Animations/TargetCursor/TargetCursor.css?raw';
import tailwind from '@tailwind/Animations/TargetCursor/TargetCursor.jsx?raw';
import tsCode from '@ts-default/Animations/TargetCursor/TargetCursor.tsx?raw';
import tsTailwind from '@ts-tailwind/Animations/TargetCursor/TargetCursor.tsx?raw';
export const targetCursor = {
...(generateCliCommands('Animations/TargetCursor')),
usage: `import TargetCursor from './TargetCursor';
export default function App() {
return (
<div>
<TargetCursor
spinDuration={2}
hideDefaultCursor={true}
/>
<h1>Hover over the elements below</h1>
<button className="cursor-target">Click me!</button>
<div className="cursor-target">Hover target</div>
</div>
);
}`,
code,
css,
tailwind,
tsCode,
tsTailwind,
}