All Downloads are FREE. Search and download functionalities are using the official Maven repository.

components.widgets.Cards.CardsCell.jsx Maven / Gradle / Ivy

The newest version!
import React from 'react'
import PropTypes from 'prop-types'
import get from 'lodash/get'
import omit from 'lodash/omit'
import classNames from 'classnames'

import { Factory } from '../../../core/factory/Factory'
import { CELLS } from '../../../core/factory/factoryLevels'
import { useResolved } from '../../../core/Expression/useResolver'
/**
 * Строка Cards
 * @reactProps {string} className - имя css класса
 * @reactProps {object} style - css стиль
 * @reactProps {object} model - Модель
 */
function CardsCell(props) {
    const { component, model, dispatch, onResolve } = props
    const resolvedProps = useResolved({
        ...omit(props, ['model', 'dispatch', 'onResolve']),
        ...omit(component, ['src']),
    }, model)

    return (
        
    )
}

CardsCell.propTypes = {
    className: PropTypes.string,
    style: PropTypes.string,
    model: PropTypes.object,
    component: PropTypes.object,
    onResolve: PropTypes.func,
    dispatch: PropTypes.func,
}

export default CardsCell




© 2015 - 2024 Weber Informatics LLC | Privacy Policy