IconTick

An inline SVG tick icon.

It implements the <Icon> component.

Styles

Also import the styles for the components this component implements.
import 'device-agnostic-ui/public/components/Icon.css';

Props

Use any valid <Icon> props, except children.

Examples

Deep import.
import IconTick from 'device-agnostic-ui/public/components/IconTick.js';
Deep require.
const IconTick = require('device-agnostic-ui/public/components/IconTick');
Index import. Convenient, but technically inferior to a deep import.
import { IconTick } from 'device-agnostic-ui';
Index require. Convenient, but technically inferior to a deep require.
const { IconTick } = require('device-agnostic-ui');
How to use the icon.
import { IconTick } from 'device-agnostic-ui';

const result = <IconTick size="2em" />;
Tick icon

Tags