import * as React from "react" ; import { Icon , Intent } from "@blueprintjs/core" ; import { IconNames } from "@blueprintjs/icons" ; import { ExampleCard } from "./ExampleCard" ; export class IconExample extends React . PureComponent { public render ( ) { return ( < div className = "example-row" > < ExampleCard label = "Icon" horizontal = { true } > { Object . values ( Intent ) . map ( intent => ( < Icon key = { `${ intent }-icon` } intent = { intent } icon = { IconNames . ADD } / > ) ) } < /ExampleCard> < /div>); } }