Skip to content

Instantly share code, notes, and snippets.

@hardik29418
Created July 28, 2023 05:42
Show Gist options
  • Save hardik29418/5e9b046acbc2963058b5096a9a280c58 to your computer and use it in GitHub Desktop.
Save hardik29418/5e9b046acbc2963058b5096a9a280c58 to your computer and use it in GitHub Desktop.
"settings": [
{
"type": "checkbox",
"id": "show_announcement",
"label": "Show announcement",
"default": false
},
{
"type": "checkbox",
"id": "home_page_only",
"label": "Home page only",
"default": true
},
{
"type": "text",
"id": "announcement_text",
"label": "Announcement Text",
"default": "Some Announcement Here"
},
{
"type": "url",
"id": "announcement_link",
"label": "Announcement Link"
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment