@momentum-ui/react-collaboration
Version:
Cisco Momentum UI Framework for React Collaboration Applications
16 lines • 784 B
JavaScript
import React from 'react';
import { DEFAULTS } from './SecondLineElement.constants';
import DividerDot from '../../DividerDot';
/**
* The SecondLineElement subcomponent is used only in SpaceListItem to
* render the secondLine array with DividerDots inbetween.
* @internal use only. Should not be consumed from any external parties.
*/
var SecondLineElement = function (props) {
var children = props.children, _a = props.showDividerDot, showDividerDot = _a === void 0 ? DEFAULTS.SHOW_DIVIDER_DOT : _a;
return (React.createElement(React.Fragment, null,
showDividerDot && React.createElement(DividerDot, { "data-test": "multiple-string-second-line-divider-dot" }),
children));
};
export default SecondLineElement;
//# sourceMappingURL=SecondLineElement.js.map