Skip to content

Commit

Permalink
chore: release 0.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
numandev1 committed Sep 24, 2021
1 parent 9fc1687 commit f0e7618
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 4 deletions.
8 changes: 5 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<!-- Title -->
<p align="center">
<img src="/assets/icon.png" alt="alt text" width="300"/>
<img src="/assets/icon.jpg" alt="alt text" width="300" style="padding-top: 16px; padding-bottom: 16px;" />
</p>

<!-- Header -->
Expand All @@ -11,7 +11,7 @@
</p>

<p align="center">
<img height="450" src="/assets/cover.jpg">
<img width="350" src="/assets/demo.gif">
</p>

## Installation
Expand All @@ -23,13 +23,15 @@ npm install react-native-emoji-hook
## Usage

```js
import useEmoji from 'react-native-emoji-hook';
import useEmoji, { emojify } from 'react-native-emoji-hook';

// ...

const [text, setText] = useEmoji();
```

**emojify** function is not hook it is basically text to emoji text converter. you can use this for making own custom useState.

## Example Code

```
Expand Down
Binary file removed assets/cover.jpg
Binary file not shown.
Binary file added assets/demo.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/icon.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed assets/icon.png
Binary file not shown.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-native-emoji-hook",
"version": "0.0.1",
"version": "0.1.0",
"description": "write emoji by emoji code",
"main": "lib/commonjs/index",
"module": "lib/module/index",
Expand Down
1 change: 1 addition & 0 deletions src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,4 @@ const useEmoji: any = () => {
};

export default useEmoji;
export { emojify };

0 comments on commit f0e7618

Please sign in to comment.