less than 1 minute read

Bootstrap provides a list of the available icons. The library no longer includes all of the icons by default. The default size rendered is 32x32, unless specified.

TypeScript

import { filter } from "gd-sprest-bs/build/icons/svgs";

// Returns an SVG Element
let elIcon = filter();          // Renders a 32x32 icon
let elIcon = filter(16);        // Renders a 16x16 icon
let elIcon = filter(16, 32);    // Renders a 16x32 icon