@atlaskit/editor-core
Version:
A package contains Atlassian editor core functionality
10 lines (7 loc) • 368 B
text/typescript
import type { JSCodeshift } from 'jscodeshift';
import type { Collection } from 'jscodeshift/src/Collection';
import { createRenameVariableTransform } from '../utils';
export const renameUnsafeAllowUndoRedoButtonsProp: (
j: JSCodeshift,
source: Collection<unknown>,
) => void = createRenameVariableTransform('UNSAFE_allowUndoRedoButtons', 'allowUndoRedoButtons');