-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(ui-icons): adding IconAdd (#452)
<!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - Introduced a new "Add" icon (`IconAdd`) to enhance the user interface with a clear, monotone design for adding items. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
- Loading branch information
Showing
5 changed files
with
66 additions
and
0 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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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,46 @@ | ||
/** | ||
* This file was automatically generated. | ||
* Please do not edit manually. | ||
* | ||
* To update this file, run `yarn build:icons`. | ||
* | ||
* Original name: plus.svg | ||
* | ||
* !Font Awesome Pro 6.5.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2024 Fonticons, Inc. | ||
* | ||
*/ | ||
|
||
import { SvgIcon } from "@versini/ui-private"; | ||
|
||
import type { IconsProps } from "./IconsTypes"; | ||
|
||
export const IconAdd = ({ | ||
className, | ||
viewBox, | ||
spacing, | ||
title, | ||
|
||
monotone, | ||
...rest | ||
}: IconsProps) => { | ||
/* v8 ignore next 1 */ | ||
const opacity = monotone ? "1" : "0.4"; | ||
return ( | ||
<SvgIcon | ||
defaultViewBox="0 0 448 512" | ||
defaultClassName="h-5 w-5" | ||
viewBox={viewBox} | ||
className={className} | ||
spacing={spacing} | ||
title={title || "Add"} | ||
{...rest} | ||
> | ||
<path | ||
className="fa-secondary" | ||
opacity={opacity} | ||
d="M256 80c0-17.7-14.3-32-32-32s-32 14.3-32 32V224H48c-17.7 0-32 14.3-32 32s14.3 32 32 32H192V432c0 17.7 14.3 32 32 32s32-14.3 32-32V288H400c17.7 0 32-14.3 32-32s-14.3-32-32-32H256V80z" | ||
/> | ||
<path className="fa-primary" d="" /> | ||
</SvgIcon> | ||
); | ||
}; |
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