mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-23 01:26:42 +02:00
- Add uload project with apps/web structure
- Reorganize from flat to monorepo structure
- Remove PocketBase binary and local data
- Update to pnpm and @uload/web namespace
- Add picture project to monorepo
- Remove embedded git repository
- Unify all package names to @{project}/{app} schema:
- @maerchenzauber/* (was @storyteller/*)
- @manacore/* (was manacore-*, manacore)
- @manadeck/* (was web, backend, manadeck)
- @memoro/* (was memoro-web, landing, memoro)
- @picture/* (already unified)
- @uload/web
- Add convenient dev scripts for all apps:
- pnpm dev:{project}:web
- pnpm dev:{project}:landing
- pnpm dev:{project}:mobile
- pnpm dev:{project}:backend
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
31 lines
682 B
Markdown
31 lines
682 B
Markdown
# Button
|
|
|
|
Pressable button with variants, sizes, and icon support.
|
|
|
|
## Installation
|
|
\`\`\`bash
|
|
npx @memoro/ui add button
|
|
\`\`\`
|
|
|
|
## Usage
|
|
\`\`\`tsx
|
|
import { Button } from '@/components/ui/Button';
|
|
|
|
<Button title="Click me" variant="primary" onPress={() => {}} />
|
|
<Button title="With Icon" icon="add" onPress={() => {}} />
|
|
<Button title="Loading" loading={true} />
|
|
\`\`\`
|
|
|
|
## Variants
|
|
- \`primary\` (default) - Blue background
|
|
- \`secondary\` - Gray background
|
|
- \`danger\` - Red background
|
|
- \`ghost\` - Transparent background
|
|
- \`outline\` - Transparent with border
|
|
|
|
## Sizes
|
|
- \`sm\` - Small
|
|
- \`md\` (default) - Medium
|
|
- \`lg\` - Large
|
|
|
|
See full documentation in component file.
|