diff --git a/src/components/Drawer/DrawerHeaderContent.js b/src/components/Drawer/DrawerHeaderContent.js index ff506c267..634e8786b 100644 --- a/src/components/Drawer/DrawerHeaderContent.js +++ b/src/components/Drawer/DrawerHeaderContent.js @@ -1,9 +1,11 @@ import React from 'react'; -import { FormattedMessage as T } from 'components'; +import { FeatureCan, FormattedMessage as T } from 'components'; import { Classes, Icon, H4, Button } from '@blueprintjs/core'; import withDrawerActions from 'containers/Drawer/withDrawerActions'; +import styled from 'styled-components'; +import { Features } from 'common'; import { compose } from 'utils'; /** @@ -13,6 +15,7 @@ function DrawerHeaderContent(props) { const { icon, title = , + subTitle, onClose, name, closeDrawer, @@ -30,7 +33,12 @@ function DrawerHeaderContent(props) { return (
-

{title}

+

+ {title} + + {subTitle} + +