@algowrite/react-help-center
Version:
Help center UI component package for react
62 lines (45 loc) • 1.01 kB
Markdown
for help center UI components.
```bash
npm install @algowrite/react-help-center
```
```jsx
import React from 'react';
import { Comp1, Comp2 } from '@algowrite/react-help-center';
function App() {
return (
<div>
{/* Red styled component */}
<Comp1 />
{/* Blue styled component */}
<Comp2 />
</div>
);
}
```
A red-styled component with Tailwind CSS classes:
- Background: red-500
- Padding: p-4
- Rounded corners: rounded-lg
- Text color: white
A blue-styled component with Tailwind CSS classes:
- Background: blue-500
- Padding: p-4
- Rounded corners: rounded-lg
- Text color: white
```bash
npm install
npm run build
```
- React 18+
- TypeScript support included
A React component library