Open hg-pyun opened 4 years ago
Theguides is coooool and very useful! I have a small wish. I want to change the unit of the rule, but I don't know which props to change. Would you describe the props more specific please?
guides
export interface GuidesProps { type?: "horizontal" | "vertical"; width?: number; height?: number; unit?: number; <-- maybe this? zoom?: number; style?: IObject<any>; backgroundColor?: string; lineColor?: string; setGuides?: (guides: number[]) => any; rulerStyle?: IObject<any>; }
Thank you!
@hg-pyun
unit is the scale unit shown on the screen. (default: 50) 0, 50, 100, 150, 200
unit
I haven't added jsdoc yet. It will be added soon.
Thank you :)
The
guides
is coooool and very useful!I have a small wish. I want to change the unit of the rule, but I don't know which props to change. Would you describe the props more specific please?
Thank you!