Created
January 11, 2021 06:24
-
-
Save JimmyLv/ebc1cc466009f78df6beb99db666ce76 to your computer and use it in GitHub Desktop.
Created with Copy to Gist
This file contains hidden or 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
| import { Meta, Story, Preview } from "@storybook/addon-docs/blocks"; | |
| <Meta title="MDX/Sanitize" /> | |
| <Preview> | |
| <Story name="sanitize header"> | |
| <ce-sanitize html="<h1>Header</h1>"></ce-sanitize> | |
| </Story> | |
| </Preview> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment