|
@@ -2,6 +2,7 @@ import React from 'react';
|
|
|
import PropTypes from 'prop-types';
|
|
import PropTypes from 'prop-types';
|
|
|
import { withTranslation } from 'react-i18next';
|
|
import { withTranslation } from 'react-i18next';
|
|
|
|
|
|
|
|
|
|
+
|
|
|
const ThreeStrandedButton = (props) => {
|
|
const ThreeStrandedButton = (props) => {
|
|
|
const { t } = props;
|
|
const { t } = props;
|
|
|
|
|
|
|
@@ -11,9 +12,12 @@ const ThreeStrandedButton = (props) => {
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+
|
|
|
return (
|
|
return (
|
|
|
|
|
+
|
|
|
<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
|
|
|
|
|
+ id="view"
|
|
|
type="button"
|
|
type="button"
|
|
|
className="btn btn-outline-primary view-button"
|
|
className="btn btn-outline-primary view-button"
|
|
|
onClick={() => { threeStrandedButtonClickedHandler('view') }}
|
|
onClick={() => { threeStrandedButtonClickedHandler('view') }}
|
|
@@ -22,6 +26,7 @@ const ThreeStrandedButton = (props) => {
|
|
|
{ t('view') }
|
|
{ t('view') }
|
|
|
</button>
|
|
</button>
|
|
|
<button
|
|
<button
|
|
|
|
|
+ id="edit"
|
|
|
type="button"
|
|
type="button"
|
|
|
className="btn btn-outline-primary edit-button"
|
|
className="btn btn-outline-primary edit-button"
|
|
|
onClick={() => { threeStrandedButtonClickedHandler('edit') }}
|
|
onClick={() => { threeStrandedButtonClickedHandler('edit') }}
|
|
@@ -29,7 +34,9 @@ const ThreeStrandedButton = (props) => {
|
|
|
<i className="icon-note icon-fw" />
|
|
<i className="icon-note icon-fw" />
|
|
|
{ t('Edit') }
|
|
{ t('Edit') }
|
|
|
</button>
|
|
</button>
|
|
|
|
|
+
|
|
|
<button
|
|
<button
|
|
|
|
|
+ id="hackmd"
|
|
|
type="button"
|
|
type="button"
|
|
|
className="btn btn-outline-primary hackmd-button"
|
|
className="btn btn-outline-primary hackmd-button"
|
|
|
onClick={() => { threeStrandedButtonClickedHandler('hackmd') }}
|
|
onClick={() => { threeStrandedButtonClickedHandler('hackmd') }}
|