|
@@ -16,7 +16,7 @@ const ThreeStrandedButton = (props) => {
|
|
|
<div className="btn-group grw-three-stranded-button" role="group " aria-label="three-stranded-button">
|
|
<div className="btn-group grw-three-stranded-button" role="group " aria-label="three-stranded-button">
|
|
|
<button
|
|
<button
|
|
|
type="button"
|
|
type="button"
|
|
|
- className={`btn btn-outline-primary view-button ${btnActive == 'view' && 'active-btn'}`}
|
|
|
|
|
|
|
+ className={`btn btn-outline-primary view-button ${btnActive === 'view' && 'active-btn'}`}
|
|
|
onClick={() => { threeStrandedButtonClickedHandler('view') }}
|
|
onClick={() => { threeStrandedButtonClickedHandler('view') }}
|
|
|
>
|
|
>
|
|
|
<i className="icon-control-play icon-fw" />
|
|
<i className="icon-control-play icon-fw" />
|
|
@@ -24,7 +24,7 @@ const ThreeStrandedButton = (props) => {
|
|
|
</button>
|
|
</button>
|
|
|
<button
|
|
<button
|
|
|
type="button"
|
|
type="button"
|
|
|
- className={`btn btn-outline-primary edit-button ${btnActive == 'edit' && 'active-btn'}`}
|
|
|
|
|
|
|
+ className={`btn btn-outline-primary edit-button ${btnActive === 'edit' && 'active-btn'}`}
|
|
|
onClick={(e) => { threeStrandedButtonClickedHandler('edit') }}
|
|
onClick={(e) => { threeStrandedButtonClickedHandler('edit') }}
|
|
|
>
|
|
>
|
|
|
<i className="icon-note icon-fw" />
|
|
<i className="icon-note icon-fw" />
|
|
@@ -32,7 +32,7 @@ const ThreeStrandedButton = (props) => {
|
|
|
</button>
|
|
</button>
|
|
|
<button
|
|
<button
|
|
|
type="button"
|
|
type="button"
|
|
|
- className={`btn btn-outline-primary hackmd-button ${btnActive == 'hackmd' && 'active-btn'}`}
|
|
|
|
|
|
|
+ className={`btn btn-outline-primary hackmd-button ${btnActive === 'hackmd' && 'active-btn'}`}
|
|
|
onClick={() => { threeStrandedButtonClickedHandler('hackmd') }}
|
|
onClick={() => { threeStrandedButtonClickedHandler('hackmd') }}
|
|
|
>
|
|
>
|
|
|
<i className="fa fa-fw fa-file-text-o" />
|
|
<i className="fa fa-fw fa-file-text-o" />
|