mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
Bump prettier from 2.1.2 to 2.2.0 (#2401)
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com> Co-authored-by: dwelle <luzar.david@gmail.com>
This commit is contained in:
parent
38aa6da7a3
commit
6718902645
3 changed files with 9 additions and 7 deletions
|
@ -15,9 +15,11 @@ const iconFillColor = (appearance: "light" | "dark") =>
|
|||
const handlerColor = (appearance: "light" | "dark") =>
|
||||
appearance === "light" ? oc.white : "#1e1e1e";
|
||||
|
||||
type Opts = { width?: number; height?: number; mirror?: true } & React.SVGProps<
|
||||
SVGSVGElement
|
||||
>;
|
||||
type Opts = {
|
||||
width?: number;
|
||||
height?: number;
|
||||
mirror?: true;
|
||||
} & React.SVGProps<SVGSVGElement>;
|
||||
|
||||
const createIcon = (d: string | React.ReactNode, opts: number | Opts = 512) => {
|
||||
const { width = 512, height = width, mirror, style } =
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue