web: codemod the `<a className="btn" />` component
Created by: valerybugakov
Context
Automated migration of the <a className="btn" />
element to the <Button />
Wildcard component powered by the codemod created in the this repo. The codemod implementation is coming to the repo via a series of pull requests started here. I will add the reference here once it's live.
Notes
- Only
<a />
was transformed in this PR. Other components and elements will be codemodded in a follow-up PR. - Classes
btn-icon
,btn-block
will be addressed separately.
Part of https://github.com/sourcegraph/sourcegraph/issues/29318. Related to https://github.com/sourcegraph/codemod/issues/31.