Skip to content

Commit

Permalink
export schematic pin style type
Browse files Browse the repository at this point in the history
  • Loading branch information
seveibar committed Aug 28, 2024
1 parent 389d2c2 commit b6d16d7
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions lib/components/chip.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,15 @@ export const chipProps = commonComponentProps.extend({
schWidth: distance.or(z.literal("auto")).optional().default("auto"),
schHeight: distance.or(z.literal("auto")).optional().default("auto"),
})

export type SchematicPinStyle = {
leftMargin?: number | string
rightMargin?: number | string
topMargin?: number | string
bottomMargin?: number | string
}
export type SchematicPinStyles = Record<string, SchematicPinStyle>

/**
* @deprecated Use ChipProps instead.
*/
Expand Down

0 comments on commit b6d16d7

Please sign in to comment.