jsx-slack
jsx-slack copied to clipboard
Build JSON object for Slack Block Kit surfaces from JSX
I've found that [escaping special character through the fallback text of date formatting](https://github.com/speee/jsx-slack/blob/master/docs/about-escape-and-exact-mode.md#details) is not work correctly in Slack client for Android. ```jsx > *bold* _italic_ ~strikethrough~ `code` > *bold*...
When I create this modal in the JSX page.. ``` ``` I see this JSON on the right: ``` { "type": "modal", "title": { "type": "plain_text", "text": "Lead Pass Bot",...
I discovered jsx-slack v2 can use asynchronous component as following: ```jsx const AsyncComponent = async ({ userId }) => { // Fetch some data const name = await getUserName({ id:...
Now we have too long README.md to explain our features. jsx-slack must have a well-organized documentation to use easily. ### ToDo - [ ] Migrate documentation from README.md to the...
The `` component provides the file input to ``. ```jsx ``` For HTML compatibility, `` is also working. It provides a better interface for web developers. ```jsx ``` Resolves #305....
https://api.slack.com/reference/block-kit/block-elements#rich_text_input It's similar to ``, but can style text with WYSIWYG editor.
https://api.slack.com/reference/block-kit/block-elements#file_input There is room to consider creating a new `` component or supporting it through a new type variant of `` (``).
https://deno.com/blog/v1.38#fastest-jsx-transform
https://api.slack.com/reference/block-kit/blocks#rich_text `rich_text` block becomes able to use in Slack API. It has a similar rendering with `` but the output JSON is much structed. There are some advantages: - It...