Typescript Starter with styled-components! ππ
A simple typescript starter for react using styled-components
under src/styled/theme.ts
export interface ThemeInterface {
colors: Colors;
padding: string;
}
export interface Colors {
white: string;
shadow: string;
text: string;
glow: Glow;
}
export interface Glow {
[character: string]: string;
}
clone the repo
git clone https://github.com/NovvumHacks/react-typescript-starter.git
install the dependencies
yarn
# --- or ----
npm install
start hacking!
yarn start
# --- or ----
npm run start