1.0.10 • Published 5 months ago

jav-make-component v1.0.10

Weekly downloads
-
License
ISC
Repository
-
Last release
5 months ago

MakeJaviComponent

MakeJaviComponent is an interface for creating components quickly, using a component structure that I use a lot in my Front-End developments.

The modules necessary to correctly implement this library are:

How to use

Create a component called Footer with the module.

npx jav-make-component Footer

It will create a folder with the name of the described component (in this case it will be Footer).

Inside it will create three files with the initial configuration.

index.tsx

import { IFooter } from './types'
import { Container } from './styles'

const Footer: React.FC<IFooter> = () => {
  // BODY OF COMPONENT
  return (
    <Container>
        <p>Footer is alive.</p>
    </Container>
  )
}

export * from './types'
export default Footer

styles.tsx

import styled from 'styled-components';

export const Container = styled.div``;

types.ts

// Types for Footer

export interface IFooter {}

Conclusion

I created this tool to speed up my developments, it is based on Angular CLI, anyone who can help you improve your development speed is welcome to use it :D.

1.0.9

5 months ago

1.0.10

5 months ago

1.0.8

8 months ago

1.0.7

2 years ago

1.0.6

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago