![JAR search and dependency download from the Maven repository](/logo.png)
components.widgets.Table.cells.TextCell.SubText.jsx Maven / Gradle / Ivy
import React from 'react'
import map from 'lodash/map'
import isArray from 'lodash/isArray'
import PropTypes from 'prop-types'
// eslint-disable-next-line import/no-named-as-default
import Text from '../../../../snippets/Typography/Text/Text'
function SubText({ subText, format }) {
return isArray(subText) ? (
map(subText, (text, i) => (
))
) : (
)
}
SubText.propTypes = {
subText: PropTypes.array,
format: PropTypes.string,
}
export default SubText
© 2015 - 2025 Weber Informatics LLC | Privacy Policy