import { Icon } from
"@rsuite/icons"
;
import
"rsuite/dist/rsuite.min.css"
;
import React from
"react"
;
const BookMarkSvg = React.forwardRef((props, ref) => (
height=
"40"
fill=
"currentColor"
class=
"bi bi-bookmark-star-fill"
viewBox=
"0 0 16 16"
>
<path fill-rule=
"evenodd"
d=
"M2 15.5V2a2 2 0 0 1 2-2h8a2
2 0 0 1 2 2v13.5a.5.5 0 0 1-.74.439L8 13.069l-5.26 2.87A.5.5 0
0 1 2 15.5zM8.16 4.1a.178.178 0 0 0-.32 0l-.634 1.285a.178.178
0 0 1-.134.098l-1.42.206a.178.178 0 0 0-.098.303L6.58 6.993c.042.041.
061.1.051.158L6.39 8.565a.178.178 0 0 0 .258.187l1.27-.668a.178.178
0 0 1 .165 0l1.27.668a.178.178 0 0 0 .257-.187L9.368 7.15a.178.178
0 0 1 .05-.158l1.028-1.001a.178.178 0 0 0-.098-.303l-1.42
-.206a.178.178 0 0 1-.134-.098L8.16 4.1z"
/>
</svg>
));
const HeadSvg = React.forwardRef((props, ref) => (
width=
"40"
height=
"40"
fill=
"currentColor"
class=
"bi bi-card-list"
viewBox=
"0 0 16 16"
>
<path d=
"M14.5 3a.5.5 0 0 1 .5.5v9a.5.5 0 0 1-.5.5h-13a.5.5 0 0
1-.5-.5v-9a.5.5 0 0 1 .5-.5h13zm-13-1A1.5 1.5 0 0 0 0 3.5v9A1.5
1.5 0 0 0 1.5 14h13a1.5 1.5 0 0 0 1.5-1.5v-9A1.5 1.5 0 0 0 14.5
2h-13z"
/>
<path d=
"M5 8a.5.5 0 0 1 .5-.5h7a.5.5 0 0 1 0 1h-7A.5.5 0 0 1 5
8zm0-2.5a.5.5 0 0 1 .5-.5h7a.5.5 0 0 1 0 1h-7a.5.5 0 0 1-.5-.5zm0 5a.5.5 0
0 1 .5-.5h7a.5.5 0 0 1 0 1h-7a.5.5 0 0 1-.5-.5zm-1-5a.5.5 0 1 1-1
0 .5.5 0 0 1 1 0zM4 8a.5.5 0 1 1-1 0 .5.5 0 0 1 1 0zm0 2.5a.5.5
0 1 1-1 0 .5.5 0 0 1 1 0z"
/>
</svg>
));
export
default
function
App() {
return
(
<div>
<div style={{ textAlign:
"center"
}}>
<h2>GeeksforGeeks</h2>
<h4 style={{ color:
"green"
}}>
React Suite Icon Extension Custom SVG Icons
</h4>
</div>
<div
style={{
textAlign:
"center"
,
padding: 20
}}
>
<Icon as={BookMarkSvg} />
<Icon as={HeadSvg} />
</div>
</div>
);
}