Register

The Register component can be used on the My account dynamic page.

Example image

register.png

Code samples

{
"tasticType": "commercetools/ui/account/register",
"name": "commercetools UI account register",
"category": "Account",
"icon": "account_circle",
"schema": [
{
"name": "Media",
"fields": [
{
"label": "Logo",
"field": "logo",
"type": "media",
"required": true
}
]
},
{
"name": "Content",
"fields": [
{
"label": "Login link",
"field": "loginLink",
"type": "reference",
"required": true
}
]
}
]
}
import React from 'react';
import Register, {
RegisterProps,
} from 'components/commercetools-ui/account/register';
export interface Props {
data: RegisterProps;
}
const AccountRegisterTastic: React.FC<Props> = ({ data }) => {
return <Register {...data} />;
};
export default AccountRegisterTastic;