Skip to content

Latest commit

 

History

History
43 lines (30 loc) · 778 Bytes

README.md

File metadata and controls

43 lines (30 loc) · 778 Bytes

Odigos UI Icons

This library contains the SVG icons for some Odigos UI libraries (ui-components, ui-containers).

Installation

Using npm:

npm i @odigos/ui-icons

Using yarn:

yarn add @odigos/ui-icons

Usage

Wrap your app with the theme provider from @odigos/ui-theme:

import Theme from '@odigos/ui-theme'

const AppProviders = () => {
  return (
    <Theme.Provider>
      <App />
    </Theme.Provider>
  )
}

Import an icon, and call it with it's props:

import { OdigosLogo } from '@odigos/ui-icons'

const App = () => {
  return <OdigosLogo size={100} fill='#F5F5F5' />
}