Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #parse("FilenameNoExtension")
- "use strict"
- import * as React from "react"
- type ${filenameNoExtension}Props = {}
- export const ${filenameNoExtension} = ( props: ${filenameNoExtension}Props ) => {
- return (
- <>
- Hello World
- </>
- )
- }
- #Plus do includes si pridat "FilenameNoExtension" s obsahem
- #set($filename = ${FILE_NAME})
- #set($index=$filename.length() - 4)
- #set($filenameNoExtension = $filename.substring(0, $index))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement