0.1.1 • Published 4 years ago
ftrprf-component v0.1.1
FTRPRF-components
The goal of this project is to bundle frequently used components into the same package. This package is automagically synced with this npm package when merged into the master branch: https://www.npmjs.com/package/@codefever/ftrprf-components.
Usage
Import the package as you would for any npm
-package:
yarn add @codefever/ftrprf-components
import { Component } from '@codefever/ftrprf-components'
Guidelines for contributing
When adding components, please follow following guidelines:
- If you want to style the component, make sure the default classes are included in this package, and these can be overwritten with the use of another css class. This class can be added in the 'css class' column in the 'Components' section of this README.
- Add a prefix to these classes. You can add prefixes with the
addPrefix
function in the utils folder.
- Add a prefix to these classes. You can add prefixes with the
Components
Component | description | css class |
---|---|---|
ContextMenu | A contextmenu that keeps track of the mouse location in the window. | CF_ContextMenu |
Tests
Currently, no tests are written for the components. However, it is encouraged to write tests for the components.
0.1.1
4 years ago