Skip to content
This repository has been archived by the owner on Oct 31, 2024. It is now read-only.

Commit

Permalink
Rename new card to Integration card and update references
Browse files Browse the repository at this point in the history
  • Loading branch information
Rodrigo Arze Leon authored and Rodrigo Arze Leon committed Oct 29, 2024
1 parent edb8f03 commit 8b8835b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions packages/engine-frontend/components/IntegrationSearch.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import {Loader, Search} from 'lucide-react'
import {useState} from 'react'
import {Input, parseCategory} from '@openint/ui'
import {CheckboxFilter} from '@openint/ui/components/CheckboxFilter'
import {ConnectionCard} from '@openint/ui/domain-components/ConnectionCard'
import {IntegrationCard} from '@openint/ui/domain-components/IntegrationCard'
import type {ConnectorConfig} from '../hocs/WithConnectConfig'
import type {ConnectEventType} from '../hocs/WithConnectorConnect'
import {WithConnectorConnect} from '../hocs/WithConnectorConnect'
Expand Down Expand Up @@ -111,7 +111,7 @@ export function IntegrationSearch({
})
}}>
{({openConnect}) => (
<ConnectionCard
<IntegrationCard
onClick={openConnect}
logo={int.ccfg.connector.logoUrl ?? ''}
name={int.name}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import {Plus} from 'lucide-react'
import {useState} from 'react'
import {Card, CardContent} from '../shadcn'

export function ConnectionCard({
export function IntegrationCard({
logo,
name,
onClick,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
import {fn} from '@storybook/test'
import logoGreenhouse from '../../../apps/web/public/_assets/logo-greenhouse.svg'
import {ConnectionCard} from '../domain-components/ConnectionCard'
import {IntegrationCard} from '../domain-components/IntegrationCard'

// More on how to set up stories at: https://storybook.js.org/docs/writing-stories#default-export
export default {
title: 'Example/ConnectionCard',
component: ConnectionCard,
title: 'Example/IntegrationCard',
component: IntegrationCard,
parameters: {
// Optional parameter to center the component in the Canvas. More info: https://storybook.js.org/docs/configure/story-layout
layout: 'centered',
Expand Down

0 comments on commit 8b8835b

Please sign in to comment.