Skip to content
This repository has been archived by the owner on Aug 27, 2018. It is now read-only.

Commit

Permalink
Merge pull request #32 from get-focus/feature-list-for
Browse files Browse the repository at this point in the history
Fix errors of the rebase
  • Loading branch information
pierr authored Jun 15, 2016
2 parents 71f052a + d714cba commit 0ddccd6
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 46 deletions.
1 change: 1 addition & 0 deletions src/components/display.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import React, {PropTypes} from 'react';
const Display = ({value}) => <div data-focus='display'>{value}</div>;

Display.displayName = 'Display';
Expand Down
46 changes: 0 additions & 46 deletions src/example/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,53 +36,7 @@ import store from './store';
import {definitions, domains, masterDataConfig} from './config';
moment.locale('fr');

<<<<<<< 306b0d63d0b8875aa2816bd9f0d6a5bd039a7a22
const App = ({children}) => {
=======
},
address: {
uuid: { domain: 'DO_RODRIGO', isRequired: false},
city: { domain: 'DO_DON_DIEGO', isRequired: true}
}
}

const domains = {
DO_RODRIGO: {
type: 'text',
validator: [{
type: 'string',
options: {
maxLength: 2
}
}],
formatter: value => value + ' - formaté'
},
DO_DON_DIEGO: {
type: 'text',
validator: [{
type: 'string',
options: {
maxLength: 200
}
}],
formatter: value => value + ' - formaté'
},
DO_DATE : {
formatter: date => date ? moment(date, format).format('DD/MM/YYYY') : ''
},
DO_CIVILITE: {
type: 'text',
validator: [{
type: 'string',
options: {
maxLength: 200
}
}]
}
}

const App = () => {
>>>>>>> Formatted value for the list
return (
<StoreProvider store={store}>
<MetadataProvider definitions={definitions} domains={domains}>
Expand Down

0 comments on commit 0ddccd6

Please sign in to comment.