| 1 |
/** |
| 2 |
* BetterDocs "sparkle" icon used on every Docs AI action so the buttons read as |
| 3 |
* powered by BetterDocs. Uses currentColor so it adopts the button's text color. |
| 4 |
*/ |
| 5 |
const BetterDocsIcon = ( { size = 15 } ) => ( |
| 6 |
<svg |
| 7 |
width={ size } |
| 8 |
height={ size } |
| 9 |
viewBox="0 0 21 20" |
| 10 |
fill="none" |
| 11 |
xmlns="http://www.w3.org/2000/svg" |
| 12 |
aria-hidden="true" |
| 13 |
focusable="false" |
| 14 |
> |
| 15 |
<path |
| 16 |
d="M10.3956 18.8608L6.10991 19.2322L6.48134 14.9465L15.3956 6.08936C15.5287 5.95329 15.6876 5.84518 15.863 5.77137C16.0384 5.69756 16.2268 5.65954 16.4171 5.65954C16.6074 5.65954 16.7957 5.69756 16.9711 5.77137C17.1466 5.84518 17.3054 5.95329 17.4385 6.08936L19.2528 7.91793C19.3865 8.05083 19.4926 8.20886 19.565 8.38293C19.6375 8.55701 19.6747 8.74368 19.6747 8.93221C19.6747 9.12075 19.6375 9.30742 19.565 9.48149C19.4926 9.65557 19.3865 9.8136 19.2528 9.9465L10.3956 18.8608ZM1.7042 5.67507C1.20277 5.58793 1.20277 4.86793 1.7042 4.78079C2.59203 4.62626 3.41374 4.21085 4.06456 3.58751C4.71538 2.96417 5.16583 2.16113 5.35848 1.28079L5.38848 1.14221C5.49705 0.647929 6.20277 0.643643 6.31705 1.13936L6.35277 1.29936C6.55248 2.17579 7.0067 2.97367 7.65837 3.59281C8.31005 4.21195 9.13013 4.62475 10.0156 4.77936C10.5199 4.86507 10.5199 5.58936 10.0156 5.67793C9.13005 5.83218 8.3098 6.24465 7.65787 6.86354C7.00594 7.48243 6.5514 8.28014 6.35134 9.1565L6.3142 9.31793C6.20134 9.81221 5.49563 9.80936 5.38705 9.31364L5.35848 9.17507C5.16564 8.29433 4.71476 7.49102 4.06339 6.86764C3.41202 6.24426 2.58969 5.82908 1.70134 5.67507H1.7042Z" |
| 17 |
stroke="currentColor" |
| 18 |
strokeWidth="1.42857" |
| 19 |
strokeLinecap="round" |
| 20 |
strokeLinejoin="round" |
| 21 |
/> |
| 22 |
</svg> |
| 23 |
); |
| 24 |
|
| 25 |
export default BetterDocsIcon; |
| 26 |
|