Skip to content

Commit

Permalink
fix some icons
Browse files Browse the repository at this point in the history
  • Loading branch information
lukasoppermann committed May 3, 2024
1 parent ecea513 commit 1923573
Show file tree
Hide file tree
Showing 4 changed files with 114 additions and 126 deletions.
4 changes: 3 additions & 1 deletion packages/react/figma.config.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@
"include": ["src/**/*.figma.tsx", "src/**/*.tsx"],
"exclude": ["test/**", "docs/**", "build/**"],
"react": {
"importPaths": {},
"importPaths": {
"./src/*": "@primer/react"
},
"paths": {}
}
}
Expand Down
1 change: 1 addition & 0 deletions packages/react/src/Button/Button.figma.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-nocheck
import {figma} from '@figma/code-connect'
import {ButtonComponent as Button} from './Button'
Expand Down
4 changes: 2 additions & 2 deletions packages/react/src/Button/Button.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ import type {Meta, StoryObj} from '@storybook/react'
import {Button} from '.'
import {OcticonArgType} from '../utils/story-helpers'

export default {
const meta: Meta<typeof Button> = {
title: 'Components/Button',
component: Button,
} as Meta<typeof Button>

export default meta
type Story = StoryObj<typeof Button>

export const Playground: Story = {
Expand Down
Loading

0 comments on commit 1923573

Please sign in to comment.