Components

StyledLink

<StyledLink />

Type Definitions

object

# Props

Properties:
Name Type Attributes Description
primary boolean

If button should be presented as a primary action

children ReactNode

Body of the button

onClick OnClickHandler <optional>

click callback

as string <optional>

Kind of which element it should be rendered. For example: as: 'a' or as: 'button'

to string

Href

View Source admin-bro/src/frontend/components/ui/styled-link.tsx, line 23