Skip to content

Commit

Permalink
Add useful exports
Browse files Browse the repository at this point in the history
  • Loading branch information
timomeh committed Mar 4, 2024
1 parent d9e5e19 commit 4aae270
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
7 changes: 3 additions & 4 deletions lib/PortingEmbed/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,12 @@ type SubmitStatusEvent =
| { status: 'loading' }
| { status: 'success'; porting: Porting }
| { status: 'error'; error: unknown }

type CompletedEvent = { porting: Porting }

type Step = ReturnType<typeof wizardStep>
type StepChangeEvent = { prevStep: Step; nextStep: Step }

type Events = {
export type Step = ReturnType<typeof wizardStep>

export type Events = {
validationChange: ValidationChangeEvent
submitStatus: SubmitStatusEvent
completed: CompletedEvent
Expand Down
3 changes: 1 addition & 2 deletions lib/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import './styles/styles.css'

export { WelcomeEmbed } from './WelcomeEmbed'
export { PortingEmbed } from './PortingEmbed'
export * from './PortingEmbed'

0 comments on commit 4aae270

Please sign in to comment.