Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
]}
windowWidth={windowWidth}
/>
这里是嵌套的外面,props 也可以是 JSX
}, {
title: '选项卡三',
key: 'test_cn',
content: '选项卡三的内容'
}]}
windowWidth={windowWidth}
/>
;
};
Remax.render();return (
);
};
Remax.render();const showToast = () => {
setPrimary(!isPrimary);
Remax.api.showToast({
title: 'ok',
icon: 'succes',
duration: 1000,
mask: true,
});
};