@prezly/theme-kit-ui
Version:
UI components for Prezly themes
20 lines • 662 B
JavaScript
import React from "react";
import { SubscriptionCta } from "./SubscriptionCta.mjs";
export default {
title: 'Components/SubscriptionCta',
component: SubscriptionCta,
parameters: {
layout: 'fullscreen',
design: {
type: 'figma',
url: 'https://www.figma.com/file/46dEAasj1iEtrVQOwmMswB/00--%3E-Themes-Design-System?type=design&node-id=649-3020&mode=dev'
}
}
};
var SubscriptionCtaTemplate = args => /*#__PURE__*/React.createElement(SubscriptionCta, args);
export var Default = SubscriptionCtaTemplate.bind({});
Default.args = {};
export var WithError = SubscriptionCtaTemplate.bind({});
WithError.args = {
error: 'Invalid email'
};