diff --git a/README.md b/README.md index 960ac28..7cfe846 100644 --- a/README.md +++ b/README.md @@ -1565,7 +1565,6 @@ export interface SchematicRectProps { isFilled?: boolean; fillColor?: string; isDashed?: boolean; - cornerRadius?: Distance; } ``` diff --git a/generated/COMPONENT_TYPES.md b/generated/COMPONENT_TYPES.md index 75fa9a8..553a7f5 100644 --- a/generated/COMPONENT_TYPES.md +++ b/generated/COMPONENT_TYPES.md @@ -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 @@ -3483,7 +3482,6 @@ export interface SchematicRectProps { isFilled?: boolean fillColor?: string isDashed?: boolean - cornerRadius?: Distance } ``` diff --git a/generated/PROPS_OVERVIEW.md b/generated/PROPS_OVERVIEW.md index 392abdc..3f83ef7 100644 --- a/generated/PROPS_OVERVIEW.md +++ b/generated/PROPS_OVERVIEW.md @@ -1942,7 +1942,6 @@ export interface SchematicRectProps { isFilled?: boolean fillColor?: string isDashed?: boolean - cornerRadius?: Distance } diff --git a/lib/components/schematic-rect.ts b/lib/components/schematic-rect.ts index 8bd97e2..9826036 100644 --- a/lib/components/schematic-rect.ts +++ b/lib/components/schematic-rect.ts @@ -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" @@ -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 { @@ -28,7 +27,6 @@ export interface SchematicRectProps { isFilled?: boolean fillColor?: string isDashed?: boolean - cornerRadius?: Distance } export type InferredSchematicRectProps = z.input