aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/document_templates/image_card/ImageCard.tsx
blob: 868afc423e2ed766589f7683cb1fb34683f21a11 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
import * as React from 'react';
import { FieldViewProps } from '../../nodes/FieldView';
import { ImageBox } from '../../nodes/ImageBox';

export default class ImageCard extends React.Component<FieldViewProps> {

    render() {
        return (
            <div style={{ padding: 30, borderRadius: 15 }}>
                <ImageBox {...this.props} />
            </div>
        );
    }

}