Closed Frankusky closed 2 weeks ago
SliderStyles properties should be able to receive an array of objects or an object
This line should be replaced with export type SliderStyles = Partial<Record<SemanticName, React.CSSProperties|React.CSSProperties[]>>;
export type SliderStyles = Partial<Record<SemanticName, React.CSSProperties|React.CSSProperties[]>>;
Currently it throws a Typescript error when I try to pass an array of objects on rail, handle and track properties
SliderStyles properties should be able to receive an array of objects or an object
This line should be replaced with
export type SliderStyles = Partial<Record<SemanticName, React.CSSProperties|React.CSSProperties[]>>;
Currently it throws a Typescript error when I try to pass an array of objects on rail, handle and track properties