client/src/store/index.js
author ymh <ymh.work@gmail.com>
Fri, 30 Nov 2018 22:05:02 +0100
changeset 187 7c745d8cb321
parent 168 ea92f4fe783d
permissions -rw-r--r--
Added tag 0.1.0 for changeset 3458941945e0
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
168
ea92f4fe783d - move SlateEditor and dependencies to its own folder
ymh <ymh.work@gmail.com>
parents:
diff changeset
     1
import * as R from 'ramda';
ea92f4fe783d - move SlateEditor and dependencies to its own folder
ymh <ymh.work@gmail.com>
parents:
diff changeset
     2
ea92f4fe783d - move SlateEditor and dependencies to its own folder
ymh <ymh.work@gmail.com>
parents:
diff changeset
     3
export const Record = defaultValue => R.compose(R.merge(defaultValue), R.pick(R.keys(defaultValue)));