- Upgraded @reduxjs/toolkit to version 2.9.0 and added new dependencies including @techniker-me/pcast-api and moment. - Refactored authentication logic and added middleware for improved request handling. - Introduced new UI components such as buttons, loaders, and forms, along with a theme system following SOLID principles. - Updated routing to include protected routes and improved the login form with better error handling. - Removed unused CSS and organized the project structure for better maintainability.
16 lines
462 B
TypeScript
16 lines
462 B
TypeScript
/**
|
|
* Copyright 2024 Phenix Real Time Solutions, Inc. Confidential and Proprietary. All Rights Reserved.
|
|
*/
|
|
import {IconButton} from './style';
|
|
import addIcon from 'assets/images/icon/hash-plus.svg';
|
|
|
|
interface IAddButton {
|
|
onClick: () => void;
|
|
className: string;
|
|
}
|
|
|
|
export const AddButton = ({onClick, className}: IAddButton): JSX.Element => (
|
|
<IconButton onClick={onClick} className={className}>
|
|
<img src={addIcon} alt={'Add'} />
|
|
</IconButton>
|
|
); |