-
-
Notifications
You must be signed in to change notification settings - Fork 267
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Migrated components to Typescript (#1806)
Co-authored-by: Kyle Holmberg <[email protected]>
- Loading branch information
1 parent
dd8c2e9
commit 6933f2d
Showing
46 changed files
with
342 additions
and
278 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
44 changes: 27 additions & 17 deletions
44
components/OutboundLink/OutboundLink.js → components/OutboundLink/OutboundLink.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
17 changes: 0 additions & 17 deletions
17
components/OutboundLink/__stories__/OutboundLink.stories.js
This file was deleted.
Oops, something went wrong.
21 changes: 21 additions & 0 deletions
21
components/OutboundLink/__stories__/OutboundLink.stories.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
import { Meta, StoryObj } from '@storybook/react'; | ||
import { descriptions } from 'common/constants/descriptions'; | ||
import OutboundLink from '../OutboundLink'; | ||
|
||
type OutboudLinkStoryType = StoryObj<typeof OutboundLink>; | ||
|
||
const meta: Meta<typeof OutboundLink> = { | ||
title: 'OutboundLink', | ||
component: OutboundLink, | ||
args: { | ||
analyticsEventLabel: 'Event label', | ||
children: descriptions.short, | ||
href: '#', | ||
}, | ||
}; | ||
|
||
export default meta; | ||
|
||
export const Default: OutboudLinkStoryType = { | ||
render: args => <OutboundLink {...args} />, | ||
}; |
File renamed without changes.
File renamed without changes.
Oops, something went wrong.