-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into noPreselectedOption
- Loading branch information
Showing
21 changed files
with
3,103 additions
and
913 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
import React, { FC, ReactNode } from 'react' | ||
|
||
type EbayDialogFooterProps = { | ||
type EbayDialogCloseButtonProps = { | ||
children?: ReactNode; | ||
} | ||
|
||
const EbayDialogCloseButton: FC = ({ children }: EbayDialogFooterProps) => <>{children}</> | ||
const EbayDialogCloseButton: FC = ({ children }: EbayDialogCloseButtonProps) => <>{children}</> | ||
|
||
export default EbayDialogCloseButton |
23 changes: 23 additions & 0 deletions
23
src/ebay-dialog-base/components/dialog-previous-button.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,23 @@ | ||
import React, { FC, KeyboardEventHandler, MouseEventHandler } from 'react' | ||
import classNames from 'classnames' | ||
import { EbayIconButton } from '../../ebay-icon-button' | ||
import { Icon } from '../../ebay-icon' | ||
|
||
type EbayDialogPreviousButtonProps = { | ||
icon?: Icon; | ||
className?: string | ||
onClick?: MouseEventHandler & KeyboardEventHandler | ||
} | ||
|
||
const EbayDialogPreviousButton: FC<EbayDialogPreviousButtonProps> = ({ | ||
className, | ||
icon, | ||
...rest | ||
}: EbayDialogPreviousButtonProps) => ( | ||
<EbayIconButton | ||
{...rest} | ||
icon={icon || 'chevronLeft16'} | ||
className={classNames(className, 'lightbox-dialog__prev')} /> | ||
) | ||
|
||
export default EbayDialogPreviousButton |
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
Oops, something went wrong.