1.0.3 • Published 1 year ago
reactcomponentscript v1.0.3
reactComponentScript
just a simple PowerShell dev tool that can help you rapidly add react components with the styled-components boilerplate. This is a super lightweight version of the node package add-react-fn-component and is under 3kb
run
npm run comp
result:
import styled from "styled-components";
export default function ComponentName() {
return <StyledComponentName></StyledComponentName>;
}
const StyledComponentName = styled.ComponentHTML``;