Skip to content

Wildcard V1: `<Button />`

Administrator requested to merge tr/wildcard-v1-buttons into main

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:

Closes https://github.com/sourcegraph/sourcegraph/issues/22841

Merge request reports

Loading