Skip to content

nikasepiskveradze/pargin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pargin will save you

Are you tired of writing margin and padding?

If so this package if for you, with this you can easily write margin and padding at the same time.

This library is only supports for JSS

Installation:

npm install pargin

Usage:

import pargin from 'pargin'

<div style={{ ...pargin(4, 5, 5, 6) }}>
    Pargin is so cool
</div>

Arguments are passed according to regular margin or padding rule: top, right, bottom and left.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published