import { cardStyleForm } from './card-style';

import HorizontalStyle from '../../../../atoms/product-group-tiles/horizontal-style/HorizontalStyle';

// remove unneeded props from CardStyle
const {
    style,
    displayUpperTitle,
    upperTitleAlignment,
    upperTitle,
    upperTitleColor,
    ...horizontalStyleForm
} = cardStyleForm;

HorizontalStyle.schema = () => ({
    name: 'ProductGroupHorizontalStyle',
    title: 'uieditor.sfbComponent.productGroupHorizontalStyle.title',
    form: horizontalStyleForm
});

export default HorizontalStyle;
