@ringcentral/juno-icon
v1.80.0
Published
### Install
Downloads
173
Readme
Juno-icon
Install
npm i @ringcentral/juno-icon
// or
yarn add @ringcentral/juno-icon
Use Icon
We can use any component with RcIcon
prop symbol
, pass component into symbol that will render svg icon with our RcIcon
style.
import { RcIcon } from '@ringcentral/juno';
import { Phone } from '@ringcentral/juno-icon';
const App = (props) => {
return (
<RcThemeProvider>
<RcIcon symbol={Phone} />
</RcThemeProvider>
);
};