UNPKG

carbon-react

Version:

A library of reusable React components for easily building user interfaces.

16 lines (15 loc) 650 B
import React from "react"; import { StyledButtonToggleIconProps } from "./button-toggle.style"; import { IconType } from "../icon"; export interface ButtonToggleIconProps extends StyledButtonToggleIconProps { /** * <a href="https://brand.sage.com/d/NdbrveWvNheA/foundations#/icons/icons" target="_blank">List of supported icons</a> * * buttonIcon to render. */ buttonIcon: IconType; /** Sets the icon in the disabled state */ disabled?: boolean; } declare const ButtonToggleIcon: ({ buttonIcon, buttonIconSize, disabled, hasContent, }: ButtonToggleIconProps) => React.JSX.Element; export default ButtonToggleIcon;