* make object available for bar as border Radius
* override only the bar borderWidth prop
* spacing
height: number;
}
-export interface BarOptions extends CommonElementOptions {
+export interface BarOptions extends Omit<CommonElementOptions, 'borderWidth'> {
/**
* The base value for the bar in data units along the value axis.
*/
* @default 'auto'
*/
inflateAmount: number | 'auto';
+
+ /**
+ * Width of the border, number for all sides, object to specify width for each side specifically
+ * @default 0
+ */
+ borderWidth: number | { top?: number, right?: number, bottom?: number, left?: number };
}
export interface BorderRadius {