Skip to content

Commit 6c94e0e

Browse files
Add 12px × icon (#937)
* Save x-12.svg * Create .changeset/rude-balloons-jam.md * Optimize SVGs --------- Co-authored-by: Gavin Nelson <actions@github.com>
1 parent 680a888 commit 6c94e0e

3 files changed

Lines changed: 7 additions & 1 deletion

File tree

.changeset/rude-balloons-jam.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@primer/octicons": minor
3+
---
4+
5+
Add 12px `×` icon

icons/x-12.svg

Lines changed: 1 addition & 0 deletions
Loading

lib/octicons_react/__tests__/tree-shaking.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,5 +50,5 @@ test('tree shaking single export', async () => {
5050
})
5151

5252
const bundleSize = Buffer.byteLength(output[0].code.trim()) / 1000
53-
expect(`${bundleSize}kB`).toMatchInlineSnapshot(`"2.848kB"`)
53+
expect(`${bundleSize}kB`).toMatchInlineSnapshot(`"3.168kB"`)
5454
})

0 commit comments

Comments
 (0)