carbon-react
Version:
A library of reusable React components for easily building user interfaces.
14 lines (13 loc) • 613 B
TypeScript
import React from "react";
export interface ButtonBarContextProps {
/** Apply fullWidth style to the button bar */
fullWidth?: boolean;
/** Defines an Icon position for buttons: "before" | "after" */
iconPosition?: "before" | "after";
/** Assigns a size to the buttons: "small" | "medium" | "large" */
size?: "small" | "medium" | "large";
/** Color variants for new business themes: "primary" | "secondary" | "tertiary" | "darkBackground" */
buttonType?: "primary" | "secondary" | "primary";
}
declare const _default: React.Context<ButtonBarContextProps>;
export default _default;