/** @packageDocumentation * @module LineWeight */ import "./Swatch.scss"; import * as React from "react"; import type { ColorDef } from "@itwin/core-common"; import type { CommonProps } from "@itwin/core-react"; /** Properties for the [[LineWeightSwatch]] React component * @public */ export interface LineWeightSwatchProps extends React.ButtonHTMLAttributes, CommonProps { /** color specification */ weight: number; /** color specification */ colorDef?: ColorDef; /** hide the weight label */ hideLabel?: boolean; /** Disabled or not */ disabled?: boolean; /** Readonly or not */ readonly?: boolean; /** function to run when user selects a line weight swatch */ onClick?: () => void; } /** LineWeightSwatch Functional component * @public */ export declare class LineWeightSwatch extends React.PureComponent { constructor(props: LineWeightSwatchProps); componentDidMount(): void; render(): React.JSX.Element; } //# sourceMappingURL=Swatch.d.ts.map