obss-air-command-component-library
Version:
React component library for Air Command System
75 lines (52 loc) • 1.76 kB
Markdown
A React component library for the Air Command System, built with TypeScript and modern React patterns.
```bash
npm install @obss/air-command-component-library
```
```typescript
import { Button, Table, Toast } from '@obss/air-command-component-library';
// Use the components in your React app
<Button variant="primary" onClick={handleClick}>
Click me
</Button>
```
```typescript
import { Rectangle, Circle, Polygon } from '@obss/air-command-component-library/dist/components/icons';
// Use individual icons
<Rectangle size={16} />
```
```typescript
import { Input, Select } from '@obss/air-command-component-library';
<Input
placeholder="Enter text"
value={value}
onChange={handleChange}
/>
<Select
options={options}
value={selectedValue}
onChange={handleSelect}
multiple={true}
searchable={true}
/>
```
- **Button**: Primary, secondary, outline variants with icon support
- **Table**: Sortable data table with multi-column sorting
- **Toast**: Notification system with success, error, warning variants
- **Input**: Text input with validation support
- **Select**: Dropdown select with search and multi-select capabilities
- **Dialog**: Modal dialogs for confirmations and forms
- **Navbar**: Navigation component
- **Icons**: Comprehensive icon set for the Air Command System
This library is built with TypeScript and provides full type definitions.
This package is specifically designed for the Air Command System project and includes specialized components and styling.
MIT