SimpleIcon
Reusable Font icons
Example
import {SimpleIcon} from '@lad-tech/mobydick-core';
export const SimpleIconWidget = () => {
return (
<SimpleIcon name={'icon-heart'}/>
);
};
Props
Requiredname
| TYPE |
|---|
| SimpleIconName |
Name of icon
color
| TYPE |
|---|
| string |
Custom color for icon
size
| TYPE |
|---|
| number |
Custom size
style
| TYPE |
|---|
| TextStyle |
Custom styles for icon