@rahulrajdahal/notr-pill
v0.0.2
Published
Pill component for notr app
Downloads
3
Maintainers
Readme
Notr Pill
Pill component from notr-ui
Installation
npm i @rahulrajdahal/notr-pillUsage
import { Pill } from "@rahulrajdahal/notr-pill";
export default function Component() {
return <Pill count={3} text={"Complete"} />;
}Props
| Prop | Type | Description | Default |
| ---------- | ----------- | -------------------------------------- | ------- |
| count | number | Count for tasks | - |
| text | string | Label of the pill | - |
| icon | ReactNode | Prefix icon component | - |
| background | string | Background color of the pill component | - |
| color | string | Text color of the pill component | - |
Made with 💝 in Bhaktapur, Nepal
