1.0.0 • Published 3 years ago

react-easy-typography v1.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

react-typography

Made with create-react-library

NPM JavaScript Style Guide

Status: development

Setup and run

To setup and run a local copy:

  • Clone this repo with git clone https://github.com/leoarmelin/react-typography.git
  • Run yarn or npm install in the root folder
  • Run yarn or npm install in the example folder
  • In seperate terminal windows, run yarn start in the root and example folders.

You should now be up and running with live browser reloading of the example website while you work on React Typography components in the /src folder.

Usage

import React from 'react';

import { Typography } from 'react-typography';

const MyComponent = () => {
  return <Typography type='Headline'>No more worries about texts</Typography>;
};

Repository structure

This repository contains 2 folders:

  • /src contains all the Tabler React components
  • /example is our create-react-app based demo website

Commit Guidelines

Commit MessageVersion Change
feat(TitleOne): A new featureMinor
fix(Headline): A bug fixPatch
docs(Typography): Documentation only changesNone
style(Footer): Changes that do not affect the meaning of the code (white-space, for matting, missing semi-colons, etc)None
refactor(LargeTitle): A code change that neither fixes a bug nor adds a featureNone
perf(Caption): A code change that improves performanceNone
test(TitleTwo): Adding missing tests or correcting existing testsNone
chore(package): Other changes that don't modify src or test filesNone
revert(#19): Reverts a previous commitNone

License

MIT © leoarmelin