Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

light-skeleton

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

light-skeleton - npm Package Compare versions

Comparing version 0.1.1 to 0.1.2

1

dist/index.d.ts

@@ -6,3 +6,2 @@ /// <reference types="react" />

marginBottom?: string | undefined;
children?: any;
style?: any;

@@ -9,0 +8,0 @@ }

2

package.json
{
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc