Wildcard V1: `<Button />`
Created by: umpox
import { Button } from '@sourcegraph/wildcard'
Adds <Button />
wrappers.
Button
Simple wrapper around our existing <button>
usage:
It supports:
- Bootstrap styles through
variant
props - Different sizes currently supported through Bootstrap
- Rendering as different elements (e.g.
<a>
tag) where required
Notes:
- Migration ticket: https://github.com/sourcegraph/sourcegraph/issues/23220
- Demo: https://5f0f381c0e50750022dc6bf7-gvoaphyqfl.chromatic.com/?path=/story/wildcard-buttons-button--simple
Closes https://github.com/sourcegraph/sourcegraph/issues/22841