cspace-ui-plugin-profile-pahma
Version:
PAHMA profile plugin for the CollectionSpace UI
30 lines (25 loc) • 566 B
JSX
import { defineMessages } from 'react-intl';
const template = (configContext) => {
const {
React,
} = configContext.lib;
const {
Field,
} = configContext.recordComponents;
return (
<Field name="params">
<Field name="Start Location" />
<Field name="End Location" />
</Field>
);
};
export default (configContext) => ({
messages: defineMessages({
name: {
id: 'form.report.keyinfobyloc.default.name',
defaultMessage: 'Standard Template',
},
}),
sortOrder: 0,
template: template(configContext),
});