UNPKG

@atlaskit/editor-core

Version:

A package contains Atlassian editor core functionality

8 lines (5 loc) 323 B
import type { JSCodeshift } from 'jscodeshift'; import type { Collection } from 'jscodeshift/src/Collection'; import { createRenameVariableTransform } from '../utils'; export const renameUnsafeCardProp: (j: JSCodeshift, source: Collection<unknown>) => void = createRenameVariableTransform('UNSAFE_cards', 'smartLinks');