react-swiped
v0.1.0
Published
A React component library for swipeable card interfaces
Maintainers
Readme
react-swiped
A React component library for swipeable card interfaces.
Installation
npm install react-swipedUsage
import { SwipeCards } from 'react-swiped';
function App() {
return <SwipeCards>{/* Your card content here */}</SwipeCards>;
}API
SwipeCards
A container component for swipeable cards.
Props:
children?: React.ReactNode- The card contentclassName?: string- Additional CSS classes
Development
# Install dependencies
npm install
# Build the library
npm run build
# Run tests
npm test
# Lint code
npm run lint
# Format code
npm run formatLicense
MIT
