1. Introduction

Introduction

Presets

As a developer, you can now define multiple default values for your components and stories.
For example, a teaser component can have three styles:

  • teaser with a background image
  • teaser with text only and a solid background color
  • teaser with a call to action button.

To make it easier for the editor to find the necessary configuration of these three styles you can save it as presets and upload a screenshot.

Endpoint
GET /v1/spaces/:space_id/presets/:preset_id