How do you import code components into Plasmic Studio?

Hi, does any one have a video tutorial somewhere explaining how to import code components into Plasmic studio? I’ve check the demo repo and all the documentations, but my

PLASMIC.registerComponent(Button, {
  name:"Button",
  props: {
    disabled:"boolean",
    type:"string",
    size:"string"
  }
})

Was imported as blank

Hi Biscuit, could you share the code of your Button component? The way that you made the registration seems right

@fmota it’s the antd button I’m importing

Is there a missing CSS import? Does adding import 'antd/dist/antd.css' to your pages/_app.js work?

Oh, thanks @yang let me try that