@pagedotapp/page-icon
v0.0.0-alpha.13
Published
PageIcon - A reusable React component
Downloads
23
Readme
@pagedotapp/page-icon
A flexible icon component using Bootstrap Icons
Installation
npm install @pagedotapp/page-iconUsage
import { PageIcon } from "@pagedotapp/page-icon"
function App() {
return <PageIcon icon="check" size={24} />
}Props
See the TypeScript definitions for detailed prop types.
Styling
This component uses CSS modules for styling. The styles are injected automatically when you use the component.
Dependencies
Peer Dependencies
- React >=16.8.0
- React DOM >=16.8.0
License
MIT © PageStudio
