Skip to content

Commit c34631a

Browse files
jluyauGitHub Enterprise
authored andcommitted
update dash sizes (#198)
1 parent 371f22f commit c34631a

File tree

1 file changed

+5
-5
lines changed
  • packages/@react-spectrum/s2/ui-icons

1 file changed

+5
-5
lines changed

packages/@react-spectrum/s2/ui-icons/Dash.tsx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,21 +10,21 @@
1010
* governing permissions and limitations under the License.
1111
*/
1212

13+
import S2_DashSize50 from './S2_DashSize50.svg';
1314
import S2_DashSize75 from './S2_DashSize75.svg';
1415
import S2_DashSize100 from './S2_DashSize100.svg';
1516
import S2_DashSize200 from './S2_DashSize200.svg';
16-
import S2_DashSize300 from './S2_DashSize300.svg';
1717
import {SVGProps} from 'react';
1818

1919
export default function Dash({size, ...props}: {size: 'S' | 'M' | 'L' | 'XL'} & SVGProps<SVGSVGElement>) {
2020
switch (size) {
2121
case 'S':
22-
return <S2_DashSize75 {...props} />;
22+
return <S2_DashSize50 {...props} />;
2323
case 'M':
24-
return <S2_DashSize100 {...props} />;
24+
return <S2_DashSize75 {...props} />;
2525
case 'L':
26-
return <S2_DashSize200 {...props} />;
26+
return <S2_DashSize100 {...props} />;
2727
case 'XL':
28-
return <S2_DashSize300 {...props} />;
28+
return <S2_DashSize200 {...props} />;
2929
}
3030
}

0 commit comments

Comments
 (0)