Releases: paperclip-ui/paperclip
Releases · paperclip-ui/paperclip
v20.1.3
v20.1.2
Small fixes
- Fix "Unknown type" error for new script type
- When moving PC files around, resources like images, backgrounds, and imports are updated throughout the project
Added ability to add scripts
Now you can add scripts to Paperclip components. For example:
public component SomePage {
script(src: "./some-script.tsx", target: "react")
render div root {
}
}
Where some-script
looks like:
export const Base => props => {.
const onClick = () => {
};
return <Base rootProps={{ onClick }} />;
};