Introduction
As a developer, you can 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 these as presets and upload a screenshot.
Presets can also be created from the UI.
This endpoint allows you to manage presets.
Endpoint
/v1/spaces/:space_id/presets/