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