Skip to main content

@congritta-ui/data-rows

This is small CSS class for creating data rows

How to install

  1. Install @congritta-ui/base if you didn't it yet. (More info here);
  2. Install @congritta-ui/data-rows;

Add

import '@congritta-ui/data-rows';

into your code AFTER importing @congritta-ui/base

How to use

Example:

<div className="data-rows">
<div className="row">
<div>Property 1:</div>
<div>Value 1</div>
</div>
<div className="row">
<div>Property 2:</div>
<div>Value 2</div>
</div>
<div className="row">
<div>Property 3:</div>
<div>Value 3</div>
</div>
</div>