function registerPreviewStyle(style, opts) {
  registry.previewStyles.push({ ...opts, value: style });
}
Preview Styles

Valid options:
 - raw {boolean} if `true`, `style` value is expected to be a CSS string