Releases: ssi02014/react-thumbnail-generator
Releases · ssi02014/react-thumbnail-generator
v3.1.0
v3.0.0
Feature
2. Migrating styled-components
to @emotion
3. Portal
Component
- Improved the portal component to automatically render the ThumbnailGenerator as a subcomponent of
document.body
. - Now you don't have to deliberately create a div for the portal in
index.html
.
4. Font Stroke
- When the Font Stroke is
None
, changing the Font Stroke color will automatically change the Stroke toNormal
.
v2.10.0
v2.9.0
v2.8.0
v2.7.0
v2.6.5
v2.6.0
v2.5.0
- Deprecated iconSrc Props
- Created ButtonIcon Props
- I did so to be compatible with Next.js.
import icon from "../public/twitter.png";
import iconImage, { StaticImageData } from "next/image";
<ThumbnailGenerator
buttonIcon={
<Image src={iconImage} width={32} height={32} alt="buttonIcon" />
}
id="tg"
modalPosition="left"
/>