Second Closet's React Native Component Library
A World Class Component Library
📦 Install
npm install @secondcloset/mobile-components
Components
- Avatar
- BottomUpMenu
- BottomUpModal
- Button
- ButtonGroup
- Card
- Collapse
- Drawer
- DropdownSelect
- PhotoSelectModal
- SearchInputBar
- Step
- Swipe
- TapAndHoldButton
import { Button } from "@secondcloset/mobile-components";
<Button text="Carpe Diem" onPress={() => console.log("Seize the Day")} />;
⌨️ Development
git clone git@github.com:SecondCloset/mobile-components.git
cd mobile-components
npm install
npm start # Start expo
npm version [<newversion> | major | minor | patch ] # Bump the version number
npm publish # Run build script then publish