import React from 'react';function transform(node) { if (node.type === 'tag' && node.name === 'b') { return <div>This was a bold tag</div>; }}