Frontastic component name

Markdown

Suggested page placement

Any page

Example image

Code samples

{
  "tasticType": "commercetools/ui/content/markdown",
  "name": "commercetools UI markdown",
  "icon": "wrap_text",
  "category": "Content",
  "schema": [
    {
      "name": "Content",
      "fields": [
        {
          "label": "Content",
          "field": "markdown",
          "type": "markdown",
          "translatable": true,
          "required": true
        }
      ]
    }
  ]
}

import Markdown from 'components/commercetools-ui/content/markdown';

const MarkdownTastic = ({ data }) => {
  return <Markdown text={data.markdown} />;
};

export default MarkdownTastic;


Did this page help you?