import { _decorator, Component, Label, Node } from 'cc';
const { ccclass, property } = _decorator;

@ccclass('StaticTxt')
export class StaticTxt extends Component {

    @property({
        tooltip: '在lang.json中查找的key',
    })
    key: string = '默认值';

    @property({
        tooltip: '富文本才需要设置的最大文本宽度',
    })
    maxWidth: number = 800;

    start() {
    }

    update(deltaTime: number) {

    }
}

