card-visual
v1.0.40
Published
卡券项目之可视化编辑器
Downloads
103
Readme
card-visua
card-visual
卡券项目之可视化编辑器
API
Preview 预览模块
代码演示
import { Preview } from 'card-visual';
class App extends Component {
render() {
return (
<Preview
visible={true}
preViewUrl="xxx.com/xxxx/xxx.html">
<div>测试</div>
</Preview>
);
}
}
| 参数名 | 说明 | 必填 | 类型 | 默认值 | 备注 | | ------ | ---- | ---- | ---- | ------ | ---- | |preViewUrl|预览url|-|String|-|-|
PhoneModel 手机模型 模块
代码演示
import { PhoneModel } from 'card-visual';
class App extends Component {
render() {
return (
<PhoneModel>
测试测试
</PhoneModel>
);
}
}
| 参数名 | 说明 | 必填 | 类型 | 默认值 | 备注 | | ------ | ---- | ---- | ---- | ------ | ---- | |style|-|-|-|-|-| |className|-|-|-|-|-|