15 lines
293 B
JavaScript
15 lines
293 B
JavaScript
// Metro module 3950 (f3951).
|
|
export const ArtboardByIndex = (a0) => {
|
|
if (Number.isInteger(a0)) {
|
|
return {
|
|
type: "index",
|
|
index: a0
|
|
};
|
|
}
|
|
throw new Error("Artboard index must be an integer");
|
|
};
|
|
export const ArtboardByName = (a0) => ({
|
|
type: "name",
|
|
name: a0
|
|
});
|