web: codemod the `<Link class="btn" />` component
Created by: valerybugakov
Context
Automated migration of the <Link 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
<Link />
was transformed in this PR. Other components and elements like<a className="btn" />
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.