https://github.com/cdmoro/use-class-name
https://github.com/cdmoro/use-class-name
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/cdmoro/use-class-name
- Owner: cdmoro
- Created: 2020-02-13T17:52:26.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2024-04-23T01:55:32.000Z (about 2 years ago)
- Last Synced: 2024-04-23T04:27:02.506Z (about 2 years ago)
- Language: TypeScript
- Size: 506 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# use-class-name
>
[](https://www.npmjs.com/package/use-class-name) [](https://standardjs.com)
## Install
```bash
npm install --save use-class-name
```
## Usage
```tsx
import * as React from 'react'
import { useMyHook } from 'use-class-name'
const Example = () => {
const example = useMyHook()
return (
{example}
)
}
```
## License
MIT © [](https://github.com/)
---
This hook is created using [create-react-hook](https://github.com/hermanya/create-react-hook).