From 6253b5c4deebc1c68213c35f59c70a48e363994b Mon Sep 17 00:00:00 2001 From: Dar Bentov Date: Wed, 1 Dec 2021 15:23:54 +0200 Subject: [PATCH] Add Text Medium --- package.json | 2 +- src/components/Icon/Icons/components/TextBig.js | 4 ++-- .../Icon/Icons/components/TextHuge.js | 4 ++-- .../Icon/Icons/components/TextMedium.js | 17 +++++++++++++++++ src/components/Icon/Icons/index.js | 1 + 5 files changed, 23 insertions(+), 5 deletions(-) create mode 100644 src/components/Icon/Icons/components/TextMedium.js diff --git a/package.json b/package.json index 847df92c0a..f159e6e36a 100644 --- a/package.json +++ b/package.json @@ -57,7 +57,7 @@ "autosize": "4.0.2", "classnames": "^2.2.6", "lodash": "^4.17.21", - "monday-ui-style": "0.1.57", + "monday-ui-style": "0.1.59", "prop-types": "^15.7.2", "react-inlinesvg": "^2.1.1", "react-popper": "^2.2.3", diff --git a/src/components/Icon/Icons/components/TextBig.js b/src/components/Icon/Icons/components/TextBig.js index b3da376a18..e96396778d 100644 --- a/src/components/Icon/Icons/components/TextBig.js +++ b/src/components/Icon/Icons/components/TextBig.js @@ -4,8 +4,8 @@ import PropTypes from 'prop-types'; import React from 'react'; const TextBig = ({size, ...props}) => ( - + ); TextBig.displayName = 'TextBig'; diff --git a/src/components/Icon/Icons/components/TextHuge.js b/src/components/Icon/Icons/components/TextHuge.js index 5c46395333..311d3d7dee 100644 --- a/src/components/Icon/Icons/components/TextHuge.js +++ b/src/components/Icon/Icons/components/TextHuge.js @@ -4,8 +4,8 @@ import PropTypes from 'prop-types'; import React from 'react'; const TextHuge = ({size, ...props}) => ( - + ); TextHuge.displayName = 'TextHuge'; diff --git a/src/components/Icon/Icons/components/TextMedium.js b/src/components/Icon/Icons/components/TextMedium.js new file mode 100644 index 0000000000..228b7a7a6f --- /dev/null +++ b/src/components/Icon/Icons/components/TextMedium.js @@ -0,0 +1,17 @@ +/* eslint-disable */ +/* tslint:disable */ +import PropTypes from 'prop-types'; +import React from 'react'; +const TextMedium = ({size, ...props}) => ( + + + +); +TextMedium.displayName = 'TextMedium'; +TextMedium.propTypes = { + size: PropTypes.string +} +export default TextMedium; +/* tslint:enable */ +/* eslint-enable */ diff --git a/src/components/Icon/Icons/index.js b/src/components/Icon/Icons/index.js index 99fd7acd56..873b68329c 100644 --- a/src/components/Icon/Icons/index.js +++ b/src/components/Icon/Icons/index.js @@ -186,6 +186,7 @@ export {default as Textcolor} from './components/Textcolor'; export {default as TextColorIndicator} from './components/TextColorIndicator'; export {default as TextCopy} from './components/TextCopy'; export {default as TextHuge} from './components/TextHuge'; +export {default as TextMedium} from './components/TextMedium'; export {default as TextSmall} from './components/TextSmall'; export {default as ThumbsUp} from './components/ThumbsUp'; export {default as Time} from './components/Time';