1.0.2 • Published 2 years ago
@floydnoel/react-kit v1.0.2
React Kit
@floydnoel/react-kit
About
These are some React components that I have needed in projects, they could be useful to others. Enjoy!
Getting started
set up an app and add the package
npx create-react-app [your-app-name]
cd [your-app-name]
yarn add @floydnoel/react-kit
import and use
import { Markdown } from '@floydnoel/react-kit'
let title = () => <Markdown># hello, world</Markdown>
Components
Code conventions
- Currently, all filenames are lower case words with hyphen separations.
- Directory structure
react-kit
: root dir, contains configuration and miscellaneous files.github
: github specific files, such as action workflowsbuild
: created byyarn build:docs
, holds the docs static deploy filesdist
: created byyarn build:components
, contains the npm package built filesnode_modules
: installed packages for devpublic
: same as CRA public folderscripts
: build and run scriptssrc
: source code filescomponents
: source code for components published in the npm packagedocs
: docs source code
- Using prettier (customized) and eslint, run
yarn format
to run prettier