Eleven translated pages changed in English since the last release without matching updates: system requirements, the Lint tab, AI chat diff tools, collaboration with agents, design JSX imports and export fidelity, Storybook and live-app export, lint fixes, page navigation, and Checking Designs. Bring de, es, fr, it, pl, and ru up to date, add the sections the abridged translations lacked where a change landed, use each language's UI labels, and point the export page at documents list.
738 B
738 B
| title | description |
|---|---|
| useExport | Gestire scala e formato di esportazione della selezione corrente. |
useExport
useExport() fornisce stato e azioni per impostazioni, oggetti selezionati, nome del file, scale, formati e anteprima, oltre all’esecuzione dell’esportazione.
Gestisce anche scale e formati supportati: gli ID in formats e le voci con etichetta in formatOptions.
Esempi
const {
settings,
nodeName,
scales,
formats,
formatOptions,
addSetting,
updateScale,
updateFormat,
} = useExport()
Per portare la prima esportazione a 2× in WEBP:
exportState.updateScale(0, 2)
exportState.updateFormat(0, 'webp')