mirror of
https://github.com/luxfi/explore.git
synced 2026-09-24 00:28:18 +00:00
* update styles for add / remove buttons * update pagination styles * change border color for filled inputs * change row gap for alerts * update icons and screenshots * fix tests * update buttons for contract method form * update screenshot
23 lines
497 B
TypeScript
23 lines
497 B
TypeScript
import React from 'react';
|
|
|
|
import type { IconButtonProps } from 'toolkit/chakra/icon-button';
|
|
import { IconButton } from 'toolkit/chakra/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);
|