aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/collections/collectionFreeForm/PropertiesView.tsx
diff options
context:
space:
mode:
authoranika-ahluwalia <anika.ahluwalia@gmail.com>2020-07-25 10:27:27 -0500
committeranika-ahluwalia <anika.ahluwalia@gmail.com>2020-07-25 10:27:27 -0500
commit229e8ba914943da0d11dff00d14a8adae950d853 (patch)
tree06c61b071d3f554b225bb5ae77724834647a6af8 /src/client/views/collections/collectionFreeForm/PropertiesView.tsx
parentee3d12fbf6306da958ae6546260921f5fee5553b (diff)
exit button for properties
Diffstat (limited to 'src/client/views/collections/collectionFreeForm/PropertiesView.tsx')
-rw-r--r--src/client/views/collections/collectionFreeForm/PropertiesView.tsx6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/client/views/collections/collectionFreeForm/PropertiesView.tsx b/src/client/views/collections/collectionFreeForm/PropertiesView.tsx
index e911c7a9f..a75ad13e5 100644
--- a/src/client/views/collections/collectionFreeForm/PropertiesView.tsx
+++ b/src/client/views/collections/collectionFreeForm/PropertiesView.tsx
@@ -25,6 +25,7 @@ interface PropertiesViewProps {
height: number;
renderDepth: number;
ScreenToLocalTransform: () => Transform;
+ onDown: (event: any) => void;
}
@observer
@@ -225,7 +226,10 @@ export class PropertiesView extends React.Component<PropertiesViewProps> {
return <div className="propertiesView" >
<div className="propertiesView-title">
- Properties
+ <div className="propertiesView-title-name">Properties </div>
+ <div className="propertiesView-title-icon" onPointerDown={this.props.onDown}>
+ <FontAwesomeIcon icon="times" color="black" size="sm" />
+ </div>
</div>
<div className="propertiesView-name">
{this.selectedDoc.title}