mirror of
https://github.com/penpot/penpot-exporter-figma-plugin.git
synced 2025-01-10 17:10:06 -05:00
9 lines
285 B
TypeScript
9 lines
285 B
TypeScript
import { translateShadowEffects } from '@plugin/translators';
|
|
|
|
import { ShapeAttributes } from '@ui/lib/types/shape/shapeAttributes';
|
|
|
|
export const transformEffects = (node: BlendMixin): Partial<ShapeAttributes> => {
|
|
return {
|
|
shadow: translateShadowEffects(node.effects)
|
|
};
|
|
};
|