What's Changed
We have fixed bugs in the image insertion feature.
- fix: inserting duplicated images has wrong relationships (#98)
- fix: the retention of unnecessary image data (#95)
Migration Guide
Please use setColOpts and setRowOpts instead of setColProps and setRowProps.
The term 'Props' is commonly used in React components, so it was changed to avoid confusion.
worksheet.setColOpts({
index: 0,
width: 12,
style: { fill: { patternType: "solid", fgColor: "FFFFFF00" } },
});
worksheet.setRowOpts({
index: 0,
height: 20,
style: { fill: { patternType: "solid", fgColor: "FFFFFF00" } },
});
changes: v0.17.0...v0.17.1