import { PenpotFile } from '@ui/lib/types/penpotFile'; import { CircleShape } from '@ui/lib/types/shapes/circleShape'; import { translateFillGradients, translateUiBlendMode } from '../translators'; export const createPenpotCircle = ( file: PenpotFile, { type, fills, blendMode, ...rest }: CircleShape ) => { file.createCircle({ fills: translateFillGradients(fills), blendMode: translateUiBlendMode(blendMode), ...rest }); };