Code
PackageInfo
Component for displaying npm package information including name, version, and change type.
react^19.0.0
tailwindcss^4.0.0
typescript
minor5.7.05.9.0
@types/node
added22.0.0
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| name | string | - | Package name |
| currentVersion | string | - | Current package version |
| newVersion | string | - | New/updated package version |
| changeType | "major" | "minor" | "patch" | "added" | "removed" | - | Type of version change |
| className | string | - | Additional CSS classes |
Import
import { PackageInfo } from '@blastx/ui-ai';