0.1.6 • Published 3 years ago

@aeros-ui/icons v0.1.6

Weekly downloads
-
License
-
Repository
gitlab
Last release
3 years ago

AEROS Icons Library

An icon library for ELANY's new AEROS system.
Built with React and Material UI to allow developers to access the ELANY custom icons for a faster workflow.

Contents

Installation

Install

//with npm

npm install @aeros-ui/icons
//with yarn

yarn add @aeros-ui/icons

Update Package

//with npm

npm install @aeros-ui/icons@latest
//with yarn    

yarn add @aeros-ui/icons@latest

Peer Dependencies

React

This package requires use of react version 17^ and react-dom version 17^

Material UI

This package requires use of Material UI version 5^

//with npm  

npm install @emotion/react @emotion/styled @mui/material @mui/icons-material @mui/styles
//with yarn

yarn add @emotion/react @emotion/styled @mui/material @mui/icons-material @mui/styles

Icons

Props

NameTypeDescriptionOptions
colorstringtheme colordefaultdisablederrorinfoprimarysecondarysuccesswarning
htmlColorstringcustom colorhex or rgb color
fontSizestringfont size of the iconsmallmediumlarge
viewBoxstringAllows you to redefine what the coordinates without units mean inside an SVG element.
sxobjectThe system prop that allows defining system overrides as well as additional CSS styles. See the sx page for more details.

Carat Icon

Import

import { CaratIcon } from '@aeros-ui/icons'

CBOR Icon

Import

import { CBORIcon } from '@aeros-ui/icons'

Correction Icon

Import

import { CorrectionIcon } from '@aeros-ui/icons' 

Table Icons

Import

import { TableIcons } from '@aeros-ui/icons'  

Usage

The table icons will be passed as a prop to Material-Table component

<MaterialTable
    icons={TableIcons}
/>   
0.1.6

3 years ago

0.1.4

3 years ago

0.1.5

3 years ago

0.1.3

3 years ago

0.1.2

3 years ago

0.1.1

3 years ago