UNPKG

@zohodesk/dot

Version:

In this Library, we Provide Some Basic Components to Build Your Application

30 lines (28 loc) 769 B
import React, { Component } from 'react'; import { DepartmentText_propTypes } from "./props/propTypes"; import style from "./SecondaryText.module.css"; export default class DepartmentText extends Component { constructor(props) { super(props); } render() { let { className, text, dataTitle, dataId } = this.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; // if (__DOCS__) { // DepartmentText.docs = { // folderName: 'List', // componentGroup: 'DepartmentText' // }; // }