mirror of
https://github.com/luxfi/explore.git
synced 2026-09-24 00:28:18 +00:00
23 lines
487 B
TypeScript
23 lines
487 B
TypeScript
import React from 'react';
|
|
|
|
import type { IconButtonProps } from '@luxfi/ui/icon-button';
|
|
import { IconButton } from '@luxfi/ui/icon-button';
|
|
import IconSvg from 'ui/shared/IconSvg';
|
|
|
|
interface Props extends IconButtonProps {}
|
|
|
|
const AddButton = (props: Props) => {
|
|
return (
|
|
<IconButton
|
|
aria-label="Add item"
|
|
variant="icon_secondary"
|
|
size="md"
|
|
{ ...props }
|
|
>
|
|
<IconSvg name="plus"/>
|
|
</IconButton>
|
|
);
|
|
};
|
|
|
|
export default React.memo(AddButton);
|