React Recipes
You create two files in the same folder, which should have the same prefixed name:
- component (
.tsx
) - styles (
.module.scss
)
Run the shortcut in your component file and presto the boilerplate is all there for you.
Library: react
Shortcut: create.minimal.react.scss.module.component
import React from 'react';
import styles from './filename.module.scss'
type filenameProps = {}
const filename = ({}: filenameProps) => {
return (
)
}
export default filename;