Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1565,7 +1565,6 @@ export interface SchematicRectProps {
isFilled?: boolean;
fillColor?: string;
isDashed?: boolean;
cornerRadius?: Distance;
}
```

Expand Down
2 changes: 0 additions & 2 deletions generated/COMPONENT_TYPES.md
Original file line number Diff line number Diff line change
Expand Up @@ -3470,7 +3470,6 @@ export const schematicRectProps = z.object({
isFilled: z.boolean().optional().default(false),
fillColor: z.string().optional(),
isDashed: z.boolean().optional().default(false),
cornerRadius: distance.optional(),
})
export interface SchematicRectProps {
schX?: Distance
Expand All @@ -3483,7 +3482,6 @@ export interface SchematicRectProps {
isFilled?: boolean
fillColor?: string
isDashed?: boolean
cornerRadius?: Distance
}
```

Expand Down
1 change: 0 additions & 1 deletion generated/PROPS_OVERVIEW.md
Original file line number Diff line number Diff line change
Expand Up @@ -1942,7 +1942,6 @@ export interface SchematicRectProps {
isFilled?: boolean
fillColor?: string
isDashed?: boolean
cornerRadius?: Distance
}


Expand Down
4 changes: 1 addition & 3 deletions lib/components/schematic-rect.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { distance, point, rotation } from "circuit-json"
import { distance, rotation } from "circuit-json"
import { z } from "zod"
import { expectTypesMatch } from "lib/typecheck"
import type { Distance } from "lib/common/distance"
Expand All @@ -14,7 +14,6 @@ export const schematicRectProps = z.object({
isFilled: z.boolean().optional().default(false),
fillColor: z.string().optional(),
isDashed: z.boolean().optional().default(false),
cornerRadius: distance.optional(),
})

export interface SchematicRectProps {
Expand All @@ -28,7 +27,6 @@ export interface SchematicRectProps {
isFilled?: boolean
fillColor?: string
isDashed?: boolean
cornerRadius?: Distance
}

export type InferredSchematicRectProps = z.input<typeof schematicRectProps>
Expand Down
Loading