1.2.0-rc.3 • Published 3 years ago

@visual-framework/vf-table v1.2.0-rc.3

Weekly downloads
304
License
Apache 2.0
Repository
-
Last release
3 years ago

Table component

npm version

Usage

CSS Class Reference

ClassApplies ToResult
vf-tabletableGives initial generic styling to the table element and it's children
vf-table--stripedvf-tableAdds striped rows to the relevant tr elements.
vf-table--borderedvf-tableadds a border around all elements
vf-table--compactvf-tableReduces the padding on the heading and cells
vf-table--loosevf-tableIncreases the padding on the heading and cells

Install

This repository is distributed with npm. After installing npm, you can install vf-table with this command.

$ yarn add --dev @visual-framework/vf-table

Sass/CSS

The style files included are written in Sass. If you're using a VF-core project, you can import it like this:

@import "@visual-framework/vf-table/index.scss";

Make sure you import Sass requirements along with the modules. You can use a project boilerplate or the vf-sass-starter

Help