Skip to content

Commit

Permalink
Adding more border style options
Browse files Browse the repository at this point in the history
  • Loading branch information
benazeer-ben committed Dec 31, 2024
1 parent e5dca54 commit a2fdde8
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,11 @@ const BORDER_STYLES = [
{ label: __( 'Solid' ), icon: lineSolid, value: 'solid' },
{ label: __( 'Dashed' ), icon: lineDashed, value: 'dashed' },
{ label: __( 'Dotted' ), icon: lineDotted, value: 'dotted' },
{ label: __( 'Double' ), icon: lineSolid, value: 'double' },
{ label: __( 'Groove' ), icon: lineSolid, value: 'groove' },
{ label: __( 'Ridge' ), icon: lineSolid, value: 'ridge' },
{ label: __( 'Inset' ), icon: lineSolid, value: 'inset' },
{ label: __( 'Outset' ), icon: lineSolid, value: 'outset' },
];

function UnconnectedBorderControlStylePicker(
Expand All @@ -34,6 +39,7 @@ function UnconnectedBorderControlStylePicker(
onChange?.( value as string | undefined );
} }
{ ...restProps }
style={ { display: 'flex' } }
>
{ BORDER_STYLES.map( ( borderStyle ) => (
<ToggleGroupControlOptionIcon
Expand Down

0 comments on commit a2fdde8

Please sign in to comment.