|
33 | 33 |
|
34 | 34 | <br/> |
35 | 35 |
|
36 | | -<h3 align="center">🌟 CONTRIBUTORS 🌟</h3> |
| 36 | +<h3 align="center">🌟 CONTRIBUTORS 🌟=</h3> |
37 | 37 | <p align="center"> |
38 | 38 | <a href="https://github.com/ssi02014/react-thumbnail-generator/graphs/contributors"> |
39 | 39 | <img src="https://contrib.rocks/image?repo=ssi02014/react-thumbnail-generator"> |
|
42 | 42 |
|
43 | 43 | <br /> |
44 | 44 |
|
45 | | -<h3 align="center">Storybook Github Page</h3> |
| 45 | +<h3 align="center">Storybook: Demo Page</h3> |
46 | 46 | <p align="center"> |
47 | 47 | <a href="https://ssi02014.github.io/react-thumbnail-generator/?path=/story/components-thumbnailgenerator--default"> |
48 | 48 | <img src="https://user-images.githubusercontent.com/64779472/220122236-c90ae4a5-8271-41df-b150-230b97991d41.png" width="120"> |
|
76 | 76 | - Dragging and dropping text on the canvas |
77 | 77 | - Adding custom web font families |
78 | 78 | - Selecting the modal button and its location |
79 | | -- Choosing the image type (png, jpg, webp) |
| 79 | +- Choosing the image type (png, jpg, webp, svg) |
80 | 80 | - Supporting TypeScript and Next |
81 | 81 |
|
82 | 82 |
|
@@ -146,22 +146,24 @@ const App = () => { |
146 | 146 | // If you do not include this option, the default icon will be used. |
147 | 147 |
|
148 | 148 | iconSize="medium" |
149 | | - // Please select the size of the default button icon. |
150 | | - // If no size is specified, the default size (medium) will be applied. |
| 149 | + // Through this property, you can specify the size of the button icon. |
151 | 150 | // However, if you are inserting a custom button icon, this option is meaningless. |
152 | 151 |
|
153 | 152 | iconPosition={[0, 20, 20, 0]} |
154 | | - // Please select the location of the button to open the Thumbnail Model. |
155 | | - // Sequence: [top, right, bottom, left] |
| 153 | + // Through this property, you can specify the position of the button icon. |
| 154 | + // [top, right, bottom, left] |
156 | 155 |
|
157 | 156 | modalPosition='right' |
158 | | - // Please select the location to open the ThumbnailModal. |
| 157 | + // Through this property, you can specify the position of the thumbnail generator. |
159 | 158 |
|
160 | 159 | additionalFontFamily={['Noto Sans', ...]} |
161 | 160 | // You can add the font of your choice to your project, but that font must already applied to your project. |
162 | 161 |
|
163 | 162 | isFullWidth={true} |
164 | | - // Setting this property to true will make the thumbnail generator modal full width. |
| 163 | + // Setting this property to true will make the thumbnail generator full-width. |
| 164 | + |
| 165 | + isDefaultOpen={false} |
| 166 | + // Setting this property to true will open the thumbnail generator by default. |
165 | 167 | /> |
166 | 168 | </div> |
167 | 169 | ) |
@@ -301,9 +303,15 @@ const App = () => { |
301 | 303 | - **Optional** |
302 | 304 | - Default: `false` |
303 | 305 | - Type: `boolean` |
| 306 | +- isDefaultOpen |
| 307 | + - **Optional** |
| 308 | + - Default: `false` |
| 309 | + - Type: `boolean` |
304 | 310 |
|
305 | 311 | <br /> |
306 | 312 |
|
307 | 313 | ## Reference |
308 | 314 | - https://github.com/wormwlrm/kwakcheolyong |
309 | | -- https://github.com/banner-maker/banner-makers |
| 315 | +- https://github.com/banner-maker/banner-makers |
| 316 | + |
| 317 | +<br /> |
0 commit comments