diff --git a/src/assets/icons/index.ts b/src/assets/icons/index.ts index 34c523fb..0b574cba 100644 --- a/src/assets/icons/index.ts +++ b/src/assets/icons/index.ts @@ -1,4 +1,5 @@ export { default as CloseIcon } from './close.svg?react' +export { default as TableSend } from './table_send.svg?react' export { default as SearchIcon } from './search.svg?react' export { default as BasicProfileIcon } from './basicProfile.svg?react' diff --git a/src/assets/icons/table_send.svg b/src/assets/icons/table_send.svg new file mode 100644 index 00000000..466e5d94 --- /dev/null +++ b/src/assets/icons/table_send.svg @@ -0,0 +1,3 @@ + + + diff --git a/src/components/IconButton/IconButton.tsx b/src/components/IconButton/IconButton.tsx new file mode 100644 index 00000000..2f14cd8a --- /dev/null +++ b/src/components/IconButton/IconButton.tsx @@ -0,0 +1,28 @@ +import { PropsWithChildren } from 'react' +import './IconButton.css' + +interface IconButtonProps { + disabled?: boolean + className?: string + text?: string +} + +const IconButton = ({ + disabled, + className, + children, + text, +}: PropsWithChildren) => { + return ( + + ) +} + +export default IconButton diff --git a/src/components/IconButton/index.ts b/src/components/IconButton/index.ts new file mode 100644 index 00000000..608a1f21 --- /dev/null +++ b/src/components/IconButton/index.ts @@ -0,0 +1 @@ +export { default as IconButton } from './IconButton' diff --git a/src/components/index.ts b/src/components/index.ts index f42c820c..18c83df3 100644 --- a/src/components/index.ts +++ b/src/components/index.ts @@ -1,3 +1,5 @@ +export * from './IconButton' + export { default as SearchBar } from './SearchBar' export { default as Profile } from './Profile'