components.widgets.Table.cells.TextCell.SubText.tsx Maven / Gradle / Ivy
import React from 'react'
import { Text } from '../../../../snippets/Typography/Text/Text'
import { type SubTextType } from './types'
export function SubText({ subText, format }: SubTextType) {
if (Array.isArray(subText)) {
return (
// eslint-disable-next-line react/jsx-no-useless-fragment
<>
{subText?.map((text, index) => (
// eslint-disable-next-line react/no-array-index-key
))}
>
)
}
return
}
export default SubText
© 2015 - 2025 Weber Informatics LLC | Privacy Policy