diff --git a/src/client/components/entity.jsx b/src/client/components/entity.jsx index ea9d828..ced0e45 100644 --- a/src/client/components/entity.jsx +++ b/src/client/components/entity.jsx @@ -15,7 +15,10 @@ const Entity = () => { const {traits} = entity; return (
- +
+
+ +
); }; diff --git a/src/client/components/entity.raw.scss b/src/client/components/entity.raw.scss index e69de29..550eac9 100644 --- a/src/client/components/entity.raw.scss +++ b/src/client/components/entity.raw.scss @@ -0,0 +1,11 @@ +.document-pane { + border-right: 1px solid #1a1a1a; + float: left; + width: calc(100% - 36em); + height: 100vh; +} + +.settings-pane { + float: left; + width: 36em; +} \ No newline at end of file diff --git a/src/client/components/properties/bool.jsx b/src/client/components/properties/bool.jsx new file mode 100644 index 0000000..9966aee --- /dev/null +++ b/src/client/components/properties/bool.jsx @@ -0,0 +1,23 @@ +import PropTypes from 'prop-types'; +import React from 'react'; + +import propertyPropTypes from './property-prop-types'; + +const Bool = ({ + name, + label, + value, +}) => ( +