diff --git a/frontend/src/components/common/notification.js b/frontend/src/components/common/notification.js index 9d57c828d4..ed318ce0ce 100644 --- a/frontend/src/components/common/notification.js +++ b/frontend/src/components/common/notification.js @@ -5,7 +5,7 @@ import { gettext } from '../../utils/constants'; import NoticeItem from './notice-item'; import UserNotificationsDialog from '../../user-notifications'; import { Utils } from '../../utils/utils'; -import './notification.css'; +import '../../css/notification.css'; class Notification extends React.Component { constructor(props) { diff --git a/frontend/src/components/common/select/index.js b/frontend/src/components/common/select/index.js new file mode 100644 index 0000000000..17d8a9bfe1 --- /dev/null +++ b/frontend/src/components/common/select/index.js @@ -0,0 +1,5 @@ +import SeahubSelect from './seahub-select'; +import { NoGroupMessage } from './no-group-message'; +import { MenuSelectStyle, UserSelectStyle } from './seahub-select-style'; + +export { SeahubSelect, NoGroupMessage, MenuSelectStyle, UserSelectStyle }; diff --git a/frontend/src/components/common/select/no-group-message.js b/frontend/src/components/common/select/no-group-message.js new file mode 100644 index 0000000000..7a9abcc9fa --- /dev/null +++ b/frontend/src/components/common/select/no-group-message.js @@ -0,0 +1,15 @@ +import React from 'react'; +import PropTypes from 'prop-types'; +import { gettext } from '../../../utils/constants'; + +const NoGroupMessage = (props) => { + return ( +