update source template stories

This commit is contained in:
Jeppe Reinhold 2023-03-23 11:49:04 +01:00
parent e54c8432a7
commit b36ad4d239

View File

@ -36,8 +36,10 @@ export const Custom = {
export const Transform = {
parameters: {
docs: {
transformSource(src: string) {
return `// We transformed this!\nconst example = (\n${src}\n);`;
source: {
transform(src: string) {
return `// We transformed this!\nconst example = (\n${src}\n);`;
},
},
},
},