react-native-ico-essential
Version:
Essential Icons for React Native
428 lines (417 loc) • 8.5 kB
TypeScript
declare module 'react-native-ico-essential' {
import { ReactNode } from 'react';
import { SvgProps, AdditionalProps } from 'react-native-svg';
type iconNames = 'add-1' |
'add-2' |
'add-3' |
'add' |
'agenda' |
'alarm-1' |
'alarm-clock-1' |
'alarm-clock' |
'alarm' |
'albums' |
'app' |
'archive-1' |
'archive-2' |
'archive-3' |
'archive' |
'attachment' |
'back' |
'battery-1' |
'battery-2' |
'battery-3' |
'battery-4' |
'battery-5' |
'battery-6' |
'battery-7' |
'battery-8' |
'battery-9' |
'battery' |
'binoculars' |
'blueprint' |
'bluetooth-1' |
'bluetooth' |
'bookmark-1' |
'bookmark' |
'briefcase' |
'broken-link' |
'calculator-1' |
'calculator' |
'calendar-1' |
'calendar-2' |
'calendar-3' |
'calendar-4' |
'calendar-5' |
'calendar-6' |
'calendar-7' |
'calendar' |
'checked-1' |
'checked' |
'clock-1' |
'clock' |
'close' |
'cloud-computing-1' |
'cloud-computing-2' |
'cloud-computing-3' |
'cloud-computing-4' |
'cloud-computing-5' |
'cloud-computing' |
'cloud' |
'command' |
'compact-disc-1' |
'compact-disc-2' |
'compact-disc' |
'compass' |
'compose' |
'controls-1' |
'controls-2' |
'controls-3' |
'controls-4' |
'controls-5' |
'controls-6' |
'controls-7' |
'controls-8' |
'controls-9' |
'controls' |
'database-1' |
'database-2' |
'database-3' |
'database' |
'diamond' |
'diploma' |
'dislike-1' |
'dislike' |
'divide-1' |
'divide' |
'division' |
'document' |
'download' |
'edit-1' |
'edit' |
'eject-1' |
'eject' |
'equal-1' |
'equal-2' |
'equal' |
'error' |
'exit-1' |
'exit-2' |
'exit' |
'eyeglasses' |
'fast-forward-1' |
'fast-forward' |
'fax' |
'file-1' |
'file-2' |
'file' |
'film' |
'fingerprint' |
'flag-1' |
'flag-2' |
'flag-3' |
'flag-4' |
'flag' |
'focus' |
'folder-1' |
'folder-10' |
'folder-11' |
'folder-12' |
'folder-13' |
'folder-14' |
'folder-15' |
'folder-16' |
'folder-17' |
'folder-18' |
'folder-19' |
'folder-2' |
'folder-3' |
'folder-4' |
'folder-5' |
'folder-6' |
'folder-7' |
'folder-8' |
'folder-9' |
'folder' |
'forbidden' |
'funnel' |
'garbage-1' |
'garbage-2' |
'garbage' |
'gift' |
'help' |
'hide' |
'hold' |
'home-1' |
'home-2' |
'home' |
'hourglass-1' |
'hourglass-2' |
'hourglass-3' |
'hourglass' |
'house' |
'id-card-1' |
'id-card-2' |
'id-card-3' |
'id-card-4' |
'id-card-5' |
'id-card' |
'idea' |
'incoming' |
'infinity' |
'info' |
'internet' |
'key' |
'lamp' |
'layers-1' |
'layers' |
'like-1' |
'like-2' |
'like' |
'link' |
'list-1' |
'list' |
'lock-1' |
'lock' |
'locked-1' |
'locked-2' |
'locked-3' |
'locked-4' |
'locked-5' |
'locked-6' |
'locked' |
'login' |
'magic-wand' |
'magnet-1' |
'magnet-2' |
'magnet' |
'map-1' |
'map-2' |
'map-location' |
'map' |
'megaphone-1' |
'megaphone' |
'menu-1' |
'menu-2' |
'menu-3' |
'menu-4' |
'menu' |
'microphone-1' |
'microphone' |
'minus-1' |
'minus' |
'more-1' |
'more-2' |
'more' |
'multiply-1' |
'multiply' |
'music-player-1' |
'music-player-2' |
'music-player-3' |
'music-player' |
'mute' |
'muted' |
'navigation-1' |
'navigation' |
'network' |
'newspaper' |
'next' |
'note' |
'notebook-1' |
'notebook-2' |
'notebook-3' |
'notebook-4' |
'notebook-5' |
'notebook' |
'notepad-1' |
'notepad-2' |
'notepad' |
'notification' |
'paper-plane-1' |
'paper-plane' |
'pause-1' |
'pause' |
'percent-1' |
'percent' |
'perspective' |
'photo-camera-1' |
'photo-camera' |
'photos' |
'picture-1' |
'picture-2' |
'picture' |
'pin' |
'placeholder-1' |
'placeholder-2' |
'placeholder-3' |
'placeholder' |
'placeholders' |
'play-button-1' |
'play-button' |
'plus' |
'power' |
'previous' |
'price-tag' |
'print' |
'push-pin' |
'radar' |
'reading' |
'record' |
'repeat-1' |
'repeat' |
'restart' |
'resume' |
'rewind-1' |
'rewind' |
'route' |
'save' |
'search-1' |
'search' |
'send' |
'server-1' |
'server-2' |
'server-3' |
'server' |
'settings-1' |
'settings-2' |
'settings-3' |
'settings-4' |
'settings-5' |
'settings-6' |
'settings-7' |
'settings-8' |
'settings-9' |
'settings' |
'share-1' |
'share-2' |
'share' |
'shuffle-1' |
'shuffle' |
'shutdown' |
'sign-1' |
'sign' |
'skip' |
'smartphone-1' |
'smartphone-10' |
'smartphone-11' |
'smartphone-2' |
'smartphone-3' |
'smartphone-4' |
'smartphone-5' |
'smartphone-6' |
'smartphone-7' |
'smartphone-8' |
'smartphone-9' |
'smartphone' |
'speaker-1' |
'speaker-2' |
'speaker-3' |
'speaker-4' |
'speaker-5' |
'speaker-6' |
'speaker-7' |
'speaker-8' |
'speaker' |
'spotlight' |
'star-1' |
'star' |
'stop-1' |
'stop' |
'stopwatch-1' |
'stopwatch-2' |
'stopwatch-3' |
'stopwatch-4' |
'stopwatch' |
'street-1' |
'street' |
'substract-1' |
'substract' |
'success' |
'switch-1' |
'switch-2' |
'switch-3' |
'switch-4' |
'switch-5' |
'switch-6' |
'switch-7' |
'switch' |
'tabs-1' |
'tabs' |
'target' |
'television-1' |
'television' |
'time' |
'trash' |
'umbrella' |
'unlink' |
'unlocked-1' |
'unlocked-2' |
'unlocked' |
'upload' |
'user-1' |
'user-2' |
'user-3' |
'user-4' |
'user-5' |
'user-6' |
'user-7' |
'user' |
'users-1' |
'users' |
'video-camera-1' |
'video-camera' |
'video-player-1' |
'video-player-2' |
'video-player' |
'view-1' |
'view-2' |
'view' |
'volume-control-1' |
'volume-control' |
'warning' |
'wifi-1' |
'wifi' |
'windows-1' |
'windows-2' |
'windows-3' |
'windows-4' |
'windows' |
'wireless-internet' |
'worldwide-1' |
'worldwide' |
'zoom-in' |
'zoom-out';
type iconColors = ;
type backgroundType = 'circle' | 'rect' | 'button';
type colorsType = Record<iconColors, string>;
type positionType = 'top' | 'bottom' | 'right' | 'left' |
'top_right' | 'top_left' | 'bottom_right' | 'bottom_left';
type backgroundTypeObj = {
type?: backgroundType;
color?: string;
radius?: number;
borderRadius?: number;
};
type badgeTypeObj = {
value?: number | string;
fontSize?: string;
position?: positionType;
color?: string;
colors: colorsType;
backgroundColor?: string;
radius?: number;
};
interface IconProps {
name: iconNames;
width?: number;
height?: number;
color?: string;
colors: colorsType;
stroke?: number;
background?: backgroundType | backgroundTypeObj;
badge?: number | string | badgeTypeObj;
}
const Icon: (props: IconProps & SvgProps & AdditionalProps) => ReactNode;
export { iconNames };
export default Icon;
}