You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 19, 2023. It is now read-only.
exportconstSupportCard=(props)=>{const{ data =[]}=props.props.attrsreturn(<divclass="support-cards">{data.map((v,i)=>{return<aclassName="support-card-item"href={v.href}key={i}><imgclassName="support-card-img"src={v.src}alt=""/><divclassName="support-card-content"><divclassName="support-card-title">{v.title||''} 〉</div><divclassName="support-card-desc">{v.desc||''}</div></div></a>})}</div>)}
I need change className to class in index.jsx , the style will be fine.
exportconstSupportCard=(props)=>{const{ data =[]}=props.props.attrsreturn(<divclass="support-cards">{data.map((v,i)=>{return<aclass="support-card-item"href={v.href}key={i}><imgclass="support-card-img"src={v.src}alt=""/><divclass="support-card-content"><divclass="support-card-title">{v.title||''} 〉</div><divclass="support-card-desc">{v.desc||''}</div></div></a>})}</div>)}
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
When I wrote a react component
index.jsx
And use in Vue
web.vue
The style cant word.
I need change
className
toclass
inindex.jsx
, the style will be fine.The text was updated successfully, but these errors were encountered: