@zohodesk/dot
Version:
In this Library, we Provide Some Basic Components to Build Your Application
37 lines (35 loc) • 1.08 kB
JavaScript
import React, { Component } from 'react';
import { DepartmentText_propTypes } from "./props/propTypes";
import Typography from '@zohodesk/components/es/Typography/Typography';
import { DUMMY_OBJECT } from '@zohodesk/components/es/utils/Common';
import style from "./SecondaryText.module.css";
export default class DepartmentText extends Component {
constructor(props) {
super(props);
}
render() {
let {
className,
text,
dataTitle,
dataId,
isHighlighted,
highlightData
} = this.props;
return /*#__PURE__*/React.createElement(Typography, {
$ui_size: "12",
$flag_dotted: true,
$ui_className: `${style.departmentText} ${className ? className : ''}`,
$i18n_dataTitle: dataTitle,
customId: dataId,
testId: dataId,
$ui_highlightConfig: isHighlighted ? highlightData : DUMMY_OBJECT
}, text);
}
}
DepartmentText.propTypes = DepartmentText_propTypes; // if (__DOCS__) {
// DepartmentText.docs = {
// folderName: 'List',
// componentGroup: 'DepartmentText'
// };
// }