light-skeleton
Advanced tools
Comparing version 0.1.1 to 0.1.2
@@ -6,3 +6,2 @@ /// <reference types="react" /> | ||
marginBottom?: string | undefined; | ||
children?: any; | ||
style?: any; | ||
@@ -9,0 +8,0 @@ } |
{ | ||
"version": "0.1.1", | ||
"version": "0.1.2", | ||
"license": "MIT", | ||
@@ -4,0 +4,0 @@ "main": "dist/index.js", |
# Light Skeleton | ||
Light react Skeleton loader | ||
## 🔧 Installation | ||
## 📦 Usage | ||
``` | ||
@@ -21,4 +27,18 @@ const PreLoader = () => { | ||
<React.Fragment> | ||
<TitleSkeleton style={{ margin: '5px', marginBottom: MB}} width={'90%'} height={Hei}/> | ||
<TitleSkeleton style={{ margin: '5px', marginBottom: MB}} width={'90%'} height={Hei}/> | ||
<TitleSkeleton | ||
style={{ | ||
margin: '5px', | ||
marginBottom: MB | ||
}} | ||
width={'90%'} | ||
height={Hei} | ||
/> | ||
<TitleSkeleton | ||
style={{ | ||
margin: '5px', | ||
marginBottom: MB | ||
}} | ||
width={'90%'} | ||
height={Hei} | ||
/> | ||
</React.Fragment> | ||
@@ -28,1 +48,13 @@ ) | ||
``` | ||
## 👀 Properties | ||
| Property | Attribute | Description | Type | example | | ||
| -------------- | --------------- | ----------------------- | --------- | ----------- | | ||
| `width` | `width` | Loader Width | `string` | `"100%"` | | ||
| `height` | `height` | Loader Height | `string` | `"1em"` | | ||
| `marginBottom` | `marginBottom` | add margin bottom | `string` | `"12px"` | | ||
| `style` | `style` | add styling | `object` | `{{color: red, padding: 20px }}` | | ||
MIT © [hc-oss](https://github.com/hc-oss) |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
29132
58
291