3

UXPin Merge Changelog: Component Documentation URL Tag

 2 years ago
source link: https://www.uxpin.com/studio/blog/merge-feature-update-component-documentation-tag/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

UXPin Merge Changelog: Component Documentation URL Tag

MergeThemeSwitcher

Our Merge technology allows you to copy the ready JSX code of your UI code component. However, sometimes it’s hard to find the exact documentation for each component. See how you can do it quickly.

Our solution to the challenge

Design systems can have very complex, detailed, or hard-to-navigate documentation, so we wanted to reduce your struggles and frustrations of finding it. 

So, we added a very simple but effective feature for doing just that. We’ve added a new JSDocs tag to our component commentating syntax that creates a link in the Merge Preview Spec panel.

KbLir32LMGHPo1OKmIOzsg12Ku3Xn6QbPCeMrUN3B3daAsPuRPdbYppUXy8QzQGm0m1qntMDtO7wbhvxDYEc_L9SiQ-3wJkh3hreSvxGSnbsXzNx9O-oYWnW54PX7Mtrh-EMI7hg

It could be used to link out to usage, prop info, Storybook, or for those without any documentation, it could link to UXPin layout examples. Adding this feature not only saves time but also helps to centralize and integrate all your current processes and toolsets into one place.

How to add the feature

It couldn’t be easier to implement too, just add a JSDocs comment before your component like the below example:

/**
*/
function CardMedia(props) {
return <CardMediaM controls {...props} />;
}

UkkMcatiixIxxFMbmZR2C1AeAkPvqgrWe1vbxE9aiXL9Eein7WFMKLP665N9_uiCXI1oafI-Zsq6PAKyiD3a5ZiTATjiE7V6bY0dvjPlfpN8uuASAsU2RXpaPFD-kv0oenmUhMJL

Design with code: learn more about Merge technology 

What’s different about a UXPin Merge prototype? You get to use interactive UI blocks that save you from redesigning the same things over and over again. As these blocks are coded components, developers can just copy the code straight from your design. Using such components not only increases the level of interactivity you wouldn’t be able to reach in an image-based tool but also speeds up the prototyping process.

Designers and engineers have two options for connecting code components with UXPin Merge:

  • Git repository—currently only supports React components
  • Storybook—supports React, Vue, Angular, Ember, and many more

Read more about Merge.

Sync your Design System components with our design tool and enjoy all the perks! Request access now. 


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK