Skip to content

Commit

Permalink
chore: fix lint error in dropzone component & toast figma connect
Browse files Browse the repository at this point in the history
  • Loading branch information
anuradha9712 committed Nov 23, 2024
1 parent 0001106 commit eca5295
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion core/components/molecules/dropzone/Dropzone.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -77,12 +77,12 @@ export const Dropzone = (props: DropzoneProps) => {
Drag your files here or
</Text>
<Text
tabIndex={disabled ? -1 : 0}
className="ml-2 cursor-pointer"
size="large"
weight="strong"
appearance={disabled ? 'disabled' : 'link'}
{...buttonAccessibilityProps}
tabIndex={disabled ? -1 : 0}
>
browse files
</Text>
Expand Down
3 changes: 2 additions & 1 deletion figma/Toast.figma.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import React from 'react';
import { Toast } from '@/index';
import figma from '@figma/code-connect';
import { Action } from '@/components/atoms/toast';

figma.connect(Toast, 'https://www.figma.com/design/w8sqBtJpvq86D06UE7gN0T/MDS---Web?node-id=694-632&m=dev', {
imports: ["import { Toast } from '@innovaccer/design-system'"],
Expand All @@ -23,5 +24,5 @@ figma.connect(Toast, 'https://www.figma.com/design/w8sqBtJpvq86D06UE7gN0T/MDS---
false: undefined,
}),
},
example: (props) => <Toast title="Title goes here" {...props} />,
example: (props) => <Toast title="Title goes here" {...props} actions={props.actions as Action[]} />,
});

0 comments on commit eca5295

Please sign in to comment.