@zohodesk/dot
Version:
In this Library, we Provide Some Basic Components to Build Your Application
18 lines • 551 B
JavaScript
import React from 'react';
import { DepartmentText_propTypes } from "./props/propTypes";
import style from "../../../list/SecondaryText/SecondaryText.module.css";
export default function DepartmentText(props) {
let {
className,
text,
dataTitle,
dataId
} = props;
return /*#__PURE__*/React.createElement("div", {
className: `${style.departmentText} ${className ? className : ''}`,
"data-title": dataTitle,
"data-id": dataId,
"data-test-id": dataId
}, text);
}
DepartmentText.propTypes = DepartmentText_propTypes;