Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
} else if (field.type.name === 'Image') {
// if image => own group
result[label || upperFirst(field.name)] = [field];
} else {
// Group
const group = field['@'].detail ? field['@'].detail.arg0 : 'Allgemein';
if (!result[group]) {
result[group] = [];
}
result[group].push(field);
}
return result;
}, {});
const Flex = createComponent(
({ theme }) => ({
paddingTop: theme.space3,
paddingX: theme.space3,
hasFlex: {
display: 'flex',
flexDirection: 'column',
},
'> ul': {
zIndex: 1,
},
'> form': {
overflow: 'auto',
},
}),
'div',
[]
({ theme }) => ({
paddingY: theme.space3,
borderBottom: border(theme, theme.dark4),
onHover: {
// backgroundColor: theme.dark5,
},
':last-of-type': {
marginBottom: theme.space3,
},
}),
'li',
({ theme }) => ({
paddingY: theme.space3,
borderBottom: border(theme, theme.dark4),
onHover: {
// backgroundColor: theme.dark5,
},
':last-of-type': {
marginBottom: theme.space3,
},
}),
'li',
padding: theme.space1,
'> .ant-btn': {
flex: '1 1 auto',
margin: theme.space1
}
}
}
}
}
}),
Modal,
p => Object.keys(p)
);
// Copyright
component.Copyright = createComponent(
({ theme }) => ({
position: 'fixed',
bottom: 10,
textAlign: 'center',
right: 0,
left: 0,
'> a': {
color: 'white',
opacity: 0.3,
onHover: {
opacity: 1
}
}
}),
'div'
);
width: 'container',
size: 'small',
children: [
{
width: '100%',
height: 50,
},
{
width: '100%',
height: 800,
},
],
},
];
const Label = Blocks.ImageBlockLabel.component;
const Container = createComponent(
ContainerBlock.styles,
ContainerBlock.component,
p => Object.keys(p),
);
const Inner = withEdit('article')(p => <div>);
const Peak = createComponent(
props => ({
...ImageStyles(props),
marginBottom: props.theme.space3,
}),
({ className, header, subheader, value, title }) => (
<div>
</div></div>
children: [
{
width: '100%',
height: 50,
},
{
width: '100%',
height: 800,
},
],
},
];
const Header = HeaderBlock.component;
const Container = createComponent(
({ theme }) => ({
...ContainerBlock.styles({ theme }),
paddingTop: theme.space3,
}),
ContainerBlock.component,
p => Object.keys(p)
);
const Slate = withBlockTypes(props => );
const Content = createComponent(
({ theme }) => ({
paddingLeft: theme.space3,
}),
p => ,
p => Object.keys(p)
size: 'small',
children: [
{
width: '100%',
height: 50,
},
{
width: '100%',
height: 800,
},
],
},
];
const Label = Blocks.ImageBlockLabel.component;
const Header = HeaderBlock.component;
const Container = createComponent(
ContainerBlock.styles,
ContainerBlock.component,
p => Object.keys(p)
);
const Slate = withBlockTypes(props => );
const Peak = createComponent(
props => ({
...ImageStyles(props),
marginBottom: props.theme.space3,
}),
({ className, header, subheader, value, title }) =>
<div>
</div>
},
{
height: 400,
},
],
},
{
medium: 7,
height: 800,
},
],
},
];
const Label = Blocks.ImageBlockLabel.component;
const Header = HeaderBlock.component;
const Container = createComponent(
ContainerBlock.styles,
ContainerBlock.component,
p => Object.keys(p)
);
const Slate = withBlockTypes(props => );
const Content = createComponent(
({ theme }) => ({
width: '100%',
paddingX: theme.space5,
'& img': {
borderRadius: theme.borderRadius,
},
ifSmallDown: {
paddingX: theme.space3,
},
({ theme }) => ({
width: '100%',
border: 'none',
borderTop: border(theme, theme.dark4),
}),
'hr',
({ theme }) => ({
padding: theme.space2,
borderBottom: border(theme, theme.dark5),
backgroundColor: theme.dark5,
}),
p => ,