Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/iwatakeshi/chakra-prose
A prose component for Chakra-UI
https://github.com/iwatakeshi/chakra-prose
Last synced: 6 days ago
JSON representation
A prose component for Chakra-UI
- Host: GitHub
- URL: https://github.com/iwatakeshi/chakra-prose
- Owner: iwatakeshi
- License: mit
- Created: 2022-05-18T14:59:41.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-05-18T17:58:05.000Z (over 2 years ago)
- Last Synced: 2024-03-18T01:11:02.499Z (10 months ago)
- Language: TypeScript
- Size: 197 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# chakra-prose
A prose component for Chakra UI
This library is a modified version of [chakra-ui-prose](https://github.com/nikolovlazar/chakra-ui-prose).
## Usage
yarn
```bash
yarn add @iwatakeshi/chakra-prose
```npm
```bash
npm add @iwatakeshi/chakra-prose
```Add prose to your theme configuration:
```tsx
import { withProse } from "@iwatakeshi/chakra-prose";
import { extendTheme } from "@charka-ui/react";const theme = extendTheme({}, withProse());
// ...
```Use the component:
```tsx
import { Prose } from "@iwatakeshi/chakra-prose";
function Example() {
return (
Hello world
);
}
```