This library contains the SVG icons for some Odigos UI libraries (ui-components, ui-containers).
Using npm:
npm i @odigos/ui-icons
Using yarn:
yarn add @odigos/ui-icons
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' />
}