import { _decorator, Component, Node } from 'cc';
import { not_have_interact_data } from '../../../data/data';
import { receive_widget_item } from './receive_widget_item';
const { ccclass, property } = _decorator;

@ccclass('widget_not_have_interact')
export class widget_not_have_interact extends Component {
    @property(Node) bg_widget_info:Node = null;
    private m_data:not_have_interact_data = null;
    public initView(data:not_have_interact_data){
        this.m_data = data;
        this.bg_widget_info.getComponent(receive_widget_item).updateView(this.m_data.bg)
    }
}


