无花果反应

2021-03-28 23:07:33

导入从&#39做出反应;反应'导入{查看,文本,图像,样式表}从'反应当地'从&#39导入{svg};反应 - 本地svg'出口默认函数FigmatoreAct(){return(<查看style = {figmatoreactstystyles.figmatoreact}>>图形>图>>>>>>>>>>>>>&gt。 ><查看风格= {FigmatoReactStyles.TabMenu}>< TabButton />< TabButton />< TabButton />< /视图><代码/>< /视图>)} Const FigmatoreActStyles = stylesheet.Create({FigareAct:{BackgroundColor:'#F9F9F9'},标题:{宽度:643,高度:109,边际:' 318 60&#39 ;,颜色: '#000000',fontfamily:' inter,sans-serif' fontsize:90,fontweight:' 500',lineheight:105.46875,textalign:'中心',tabmenu:{宽度:990,高度:84,边距:' 144 517'},})}}}}} {return(<查看style = {inputfieldstyles.inputfield }><看style = {inputfieldstyles.shape} /> < text style = {inputfieldstyles.label}>图MAN URL:< / text> < text style = {inputfieldstyles.value}> https://www.figma.com/file/qosblly02hcwkjdecodamn< / text> < / view> )} const inputfieldstyles = stylesheet.Create({Inputfield:{宽度:945,高度:83,边缘:' 167 213'},形状:{宽度:' 76.08%' ,高度:' 100%&#39 ;,Borderradius:8,边缘:' 226 0&#39 ;,背景彩色:'#ffffff',bordercolor:'#888888 #39;,边界宽:2,},标签:{宽度:216,高度:48,颜色:'#000000',fontfamily:' inter,sans-serif',fontsize: 40,FONTWEIGHT:' 500',LINEHEIGHT:46.875,TextAlign:'右和#39;,}值:{宽度:' 115.34%',高度:&# 39; 57.83%',边际:' 246 17',颜色:'#000000',fontfamily:' inter,sans-serif',fontsize: 40,Fontweight:' 500',lineheight:46.875,},})函数按钮(){return(<查看style = {buttonstyles.button}>>> text style = {buttonstyles.label} >生成< / text>< / power>)} const buttonstyles = stylesheet.create({按钮:{宽度:450,高度:120,borderradius:16,边缘:' 417 321',背景颜色: '#2d9cdb',标签:{宽度:' 40%',高度:' 40%',边际:' 135 36' 135 36&# 39;颜色:'#ffffff' fontfamily:' inter,sans-serif',fontsize:40,lineheight:46.875,textalign:'中心',textalignvertical :'中心',},})函数代码(){return(<查看style = {codestyles.code}> <查看style = {codestyles.rectangle1} /> < text style = {codestyles.outputcode}>文字< / text> < / view> )} const codestyles = stylesheet.Create({Code:{宽度:990,高度:422,边缘:' 144 601'},矩形1:{宽度:' 100%' ,高度:' 100%',Borderradius:8,背景彩色:'#ffffff',bordercolor:'#dddddd',nayedwidth:1,},OutputCode: {宽度:' 95.56%'高度:' 6.87%',边际:' 23 24&#39 ;,颜色:'#000000' ,fontfamily:' inter,sans-serif' fontsize:24,lineheight:28.125,}})函数tabbutton(){return(<查看style = {tabbuttonstyles.tabbutton}>>>>>>>>>>>>查看style = {tabbuttonstyles.shape} />< text style = {tabbuttonstyles.label}>反应web< / text>< / dement>)} const tabbuttonstyles = stylesheet.create({tabbutton:{宽度:330 ,高度:84,},形状:{宽度:' 100%',高度:' 100%',borderradius:8,背景彩色:'#eeeeee&#39 ;,博登:'#000000',边界宽:2,},标签:{宽度:' 100%',高度:' 57.14%',颜色:'#000000',f ontfamily:' inter,sans-serif',fontsize:40,lineheight:46.875,textalign:'中心' textAlignvertical:'中心'},})

图形是反应转换图形绘制(帧)以反应代码(反应本地和Next.js)。