Answersheet to 'Modal Layout'

{
  "store.home": {
    "blocks": ["modal-trigger#first"]
  },
  "modal-trigger#first": {
    "children": ["rich-text#trigger", "modal-layout#first"]
  },
  "modal-layout#first": {
    "children": ["rich-text#hello"]
  },
  "rich-text#trigger": {
    "props": {
      "text": "CLICK ME"
    }
  },
  "rich-text#hello": {
    "props": {
      "text": "Hello"
    }
  }
}

Help us make this content better!

VTEX IO courses are open source. If you see something wrong, you can open a pull request!

Make a contribution

or open an issue