/*
 * @Author: zhuangmw
 * @Email: zhuangmw@guahao.com
 * @Date: 2019-08-24 19:09:31
 * @Last Modified by: waylon
 * @Last Modified time: 2022-11-24 11:45:53
 * @Description: brick的自定义单元内容组件
 */

import Lodash from 'lodash';

export default {
    name: 'BkRender',
    functional: true,
    props: {
        row: Object,
        formParams: Object,
        render: Function
    },
    render: Lodash.throttle((h, context) => context.props.render(h, context.props), 1200, {
        trailing: false
    })
};
