0.1.0-pr-404.1 • Published 1 year ago

@equinor/fusion-wc-icon-button v0.1.0-pr-404.1

Weekly downloads
-
License
ISC
Repository
github
Last release
1 year ago

fusion-wc-icon-button Published on npm

Storybook

Installation

npm install @equinor/fusion-wc-icon-button

Properties/Attributes

NameTypeDefaultDescription
iconIconName*''Icon to display. Currently only maps to EDS icon names.
sizeIconButtonSizemediumSets the size of the icon button element.
colorIconButtonColor''Sets the color of the icon button element.
roundedboolean''Sets the shape of the icon button element to rounded or square.
disabledboolean''Sets the icon button to disabled.
ariaLabelstring''Sets the accessible label for the button. Uses icon+'_icon-button' when not defined.
ariaHasPopupstring''Indicates the availability and type of an interactive popup element, such as menu or dialog, that can be triggered by the button.

* IconName is exported by @equinor/eds-icons.

type IconName = keyof typeof icons | string;