templates

package
v0.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 6, 2020 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const ComponentIndexTemplate = `export { default as {{.Name}} } from './{{.Name}}'
`

ComponentIndexTemplate represents barrel file for React components in TS

View Source
const ComponentInterfacesTemplate = `export interface {{.Name}}Props {}
`

ComponentInterfacesTemplate represents interfaces boilerplate data file for React components in TS

View Source
const ComponentStylesTemplate = `.{{.Name}} {}`

ComponentStylesTemplate represents css/scss file

View Source
const ComponentTemplate = `` /* 165-byte string literal not displayed */

ComponentTemplate represents boilerplate data for React components in TS

View Source
const ComponentTemplateWithScss = `` /* 219-byte string literal not displayed */

ComponentTemplateWithScss represents boilerplate data for React components in TS with Scss file included

View Source
const ComponentTypesIndexTemplate = `export * from './interfaces'`

ComponentTypesIndexTemplate represents types barrel file for React components in TS

Variables

This section is empty.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL