gd-bs
Version:
Bootstrap JavaScript, TypeScript and Web Components library.
5 lines • 611 B
text/typescript
/// <reference path="./diamondHalf.d.ts" />
import { generateIcon } from "../generate";
export function diamondHalf(height?:number, width?:number, className?:string) {
return generateIcon(`<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='currentColor' class='bi bi-diamond-half' viewBox='0 0 16 16'> <path d='M9.05.435c-.58-.58-1.52-.58-2.1 0L.436 6.95c-.58.58-.58 1.519 0 2.098l6.516 6.516c.58.58 1.519.58 2.098 0l6.516-6.516c.58-.58.58-1.519 0-2.098zM8 .989c.127 0 .253.049.35.145l6.516 6.516a.495.495 0 0 1 0 .7L8.35 14.866a.5.5 0 0 1-.35.145z'/> </svg>`, height, width, className);
}