You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| hash | String | null | true | Images hash. Example: Take this image -> https://ik.imagekit.io/6xhf1gnexgdgk/lion_BllLvaqVn.jpg, the hash is '6xhf1gnexgdgk' |
115
-
| src | String | null | true | Images source. Example: Take this image -> https://ik.imagekit.io/6xhf1gnexgdgk/lion_BllLvaqVn.jpg, the source is 'lion_BllLvaqVn.jpg' |
116
-
| placeholder | String | '' | false | Images placeholder. Here you can pass a link |
117
-
| backgroundColor | String | '' | false | Background color of the images placeholder |
118
-
| srcset | Array |[320, 480, 800]| false | Array of numbers that will define the images srcset attribute. Each number correspond to one of the images width |
119
-
| sizes | Array |[]| false | Array of numbers that will define the images sizes attribute. Each number correspond to one of the images max-width. Empty by default, which gets each of the images srcset prop and subtract by 40px |
120
-
| defaultSize | Number | 1080 | true | Images default size. Must be larger than the largest srcset and sizes |
121
-
| customTransform | String | '' | false | Use this to append any extra image kit transform that you want |
122
-
| width | Number | null | false | Images width. Width number in pixels. It will be set with inline style |
123
-
| height | Number | null | false | Images height. Height number in pixels. It will be set with inline style |
124
-
| alt | String | '' | false | Images alt attribute |
115
+
| Property name | Type | Default | Required | Description |
| hash | String | null | true | Images hash. Example: Take this image -> https://ik.imagekit.io/6xhf1gnexgdgk/lion_BllLvaqVn.jpg, the hash is '6xhf1gnexgdgk' |
118
+
| src | String | null | true | Images source. Example: Take this image -> https://ik.imagekit.io/6xhf1gnexgdgk/lion_BllLvaqVn.jpg, the source is 'lion_BllLvaqVn.jpg' |
119
+
| placeholder | String | '' | false | Images placeholder. Here you can pass a link |
120
+
| backgroundColor | String | '' | false | Background color of the images placeholder |
121
+
| srcset | Array |[320, 480, 800]| false | Array of numbers that will define the images srcset attribute. Each number correspond to one of the images width |
122
+
| sizes | Array |[]| false | Array of numbers that will define the images sizes attribute. Each number correspond to one of the images max-width. Empty by default, which gets each of the images srcset prop and subtract by 40px |
123
+
| defaultSize | Number | 1080 | true | Images default size. Must be larger than the largest srcset and sizes |
124
+
| customTransform | String | '' | false | Use this to append any extra image kit transform that you want |
125
+
| width | Number | null | false | Images width. Width number in pixels. It will be set with inline style |
126
+
| height | Number | null | false | Images height. Height number in pixels. It will be set with inline style |
127
+
| alt | String | '' | false | Images alt attribute |
128
+
| lazyLoad | Boolean | true | false | If you don't want to use the built in lazy load, you can set this to false, then the image will not be lazy loaded, and you can setup your own lazy load |
> **Note**: Contributions are very welcomed, however is very important to open a new issue using the issue template **before** you start working on anything, so we can discuss it before hand
135
+
130
136
Fork the project and enter this commands in your terminal
0 commit comments