twigs-mobile
v0.1.1
Published
React Native icon package - Mobile companion to twigs-react-icons
Maintainers
Readme
twigs-mobile
React Native icon package - Mobile companion to twigs-react-icons
Installation
npm install twigs-mobile react-native-svgUsage
import { AddColumnIcon, AlertIcon, SearchIcon } from 'twigs-mobile';
function MyComponent() {
return (
<>
<AddColumnIcon size={24} color="#000" strokeWidth={1.5} />
<AlertIcon size={32} color="#ff0000" />
<SearchIcon size={20} />
</>
);
}Props
All icons accept the following props:
size?: number- Icon size (default: 32)color?: string- Icon color (default: 'currentColor')strokeWidth?: number- Stroke width (default: 1.5)- All other props from
react-native-svg'sSvgProps
License
MIT
