| author | ymh <ymh.work@gmail.com> |
| Thu, 29 Jul 2021 19:04:01 +0200 | |
| changeset 209 | a01e6a4dc9d2 |
| parent 168 | ea92f4fe783d |
| permissions | -rw-r--r-- |
|
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))); |