components.widgets.Tiles.TilesCell.tsx Maven / Gradle / Ivy
import React from 'react'
import omit from 'lodash/omit'
import get from 'lodash/get'
import classNames from 'classnames'
import { Factory } from '../../../core/factory/Factory'
import { CELLS } from '../../../core/factory/factoryLevels'
import { useResolved } from '../../../core/Expression/useResolver'
import { type TilesCellType } from './types'
/**
* Строка карточки
* @reactProps {string} className - имя css класса
* @reactProps {object} style - css стиль
* @reactProps {object} model - Модель
*/
export function TilesCell(props: TilesCellType) {
const { component, model, style, className } = props
const resolvedProps = useResolved(omit(component, ['src']), model)
return (
)
}
export default TilesCell
© 2015 - 2025 Weber Informatics LLC | Privacy Policy