iconBookmark.tsx 1.0 KB

1234567891011121314151617181920212223242526
  1. import {forwardRef} from 'react';
  2. import type {SVGIconProps} from './svgIcon';
  3. import {SvgIcon} from './svgIcon';
  4. interface Props extends SVGIconProps {
  5. isSolid?: boolean;
  6. }
  7. const IconBookmark = forwardRef<SVGSVGElement, Props>(
  8. ({isSolid = false, ...props}, ref) => {
  9. return (
  10. <SvgIcon {...props} ref={ref}>
  11. {isSolid ? (
  12. <path d="M14.09,16a.71.71,0,0,1-.4-.11L8,12.32,2.31,15.88a.76.76,0,0,1-.76,0,.75.75,0,0,1-.39-.66V2.4A2.38,2.38,0,0,1,3.54,0h8.92A2.38,2.38,0,0,1,14.84,2.4V15.24a.75.75,0,0,1-.39.66A.77.77,0,0,1,14.09,16Z" />
  13. ) : (
  14. <path d="M14.09,16a.71.71,0,0,1-.4-.11L8,12.32,2.31,15.88a.76.76,0,0,1-.76,0,.75.75,0,0,1-.39-.66V2.4A2.38,2.38,0,0,1,3.54,0h8.92A2.38,2.38,0,0,1,14.84,2.4V15.24a.75.75,0,0,1-.39.66A.77.77,0,0,1,14.09,16ZM8,10.69a.8.8,0,0,1,.4.11l4.94,3.09V2.4a.88.88,0,0,0-.88-.87H3.54a.88.88,0,0,0-.88.87V13.89L7.6,10.8A.8.8,0,0,1,8,10.69Z" />
  15. )}
  16. </SvgIcon>
  17. );
  18. }
  19. );
  20. IconBookmark.displayName = 'IconBookmark';
  21. export {IconBookmark};