import { _decorator, Component, Node } from 'cc';
import JNScrollViewItem from '../../../../../extensions/ngame/assets/ngame/util/components/scrollview/JNScrollViewItem';
import { PlayerPetOV } from '../../../consts/API';
import { PetIconSelect } from './PetIconSelect';
const { ccclass, property } = _decorator;

@ccclass('PetIconSelectScroll')
export class PetIconSelectScroll extends JNScrollViewItem<PlayerPetOV> {

    @property(PetIconSelect)
    select:PetIconSelect;

    protected start(): void {
        this.select.set(this.data);
    }

}


