-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: 💄 fix minor ui issue n add documentation
- Loading branch information
1 parent
ca58ab7
commit cff1295
Showing
4 changed files
with
48 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,12 @@ | ||
# Slack Blocks to JSX | ||
# Slack Blocks to JSX | ||
|
||
### How to use | ||
|
||
1. Install the Library | ||
2. Import the CSS file in your entry point file `import "slack-blocks-to-jsx/dist/style.css"` | ||
3. Import the component and use it `import { Message } from "slack-blocks-to-jsx"` | ||
4. (optional) import the Block type to define the blocks for better type safety :) | ||
|
||
`import type { Block } from "slack-blocks-to-jsx"` | ||
|
||
`const blocks: Block[] = [...your slack blocks]` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters