Skip to content

Commit

Permalink
Update chip.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
seveibar authored Oct 16, 2024
1 parent 926e133 commit 1481ed9
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion lib/components/chip.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,12 @@ export interface ChipProps extends CommonComponentProps {

export const chipProps = commonComponentProps.extend({
manufacturerPartNumber: z.string().optional(),
pinLabels: z.record(z.number().or(z.string()), z.string()).optional(),
pinLabels: z.record(
z.number().or(z.string()),
z.string().or(
z.array(z.string())
)
).optional(),
schPortArrangement: schematicPortArrangement.optional(),
schPinStyle: schematicPinStyle.optional(),
schPinSpacing: distance.optional(),
Expand Down

0 comments on commit 1481ed9

Please sign in to comment.