Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
strategy: (
contentBlock: ContentBlock,
callback: (...args?: Array) => any
) => {
if (contentBlock.type === 'code-block') return;
linkStrategy(contentBlock, callback);
},
component: ({ decoratedText, children }: DecoratorComponentProps) => (