UNPKG

@jinshuju/field-icons-react-native

Version:

React Native icons for Jinshuju fields

10 lines 910 B
const React = require("react"); import Svg, { G, Path, Defs, ClipPath, Rect } from "react-native-svg"; function FieldIconButton({ title, titleId, ...props }) { return <Svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor" data-slot="icon" width="1em" height="1em" aria-labelledby={titleId} {...props}>{title ? <title id={titleId}>{title}</title> : null}<G clipPath="url(#a)"><Path fillRule="evenodd" d="M3 6a3 3 0 0 1 3-3h12a3 3 0 0 1 3 3v12a3 3 0 0 1-3 3H6a3 3 0 0 1-3-3V6Zm1.508-.153c-.005.05-.008.101-.008.153v8A1.5 1.5 0 0 0 6 15.5h12a1.5 1.5 0 0 0 1.5-1.5V6A1.5 1.5 0 0 0 18 4.5H6a1.5 1.5 0 0 0-1.492 1.347ZM19.5 16.599V18a1.5 1.5 0 0 1-1.5 1.5H6A1.5 1.5 0 0 1 4.5 18v-1.401c.441.255.954.401 1.5.401h12c.546 0 1.059-.146 1.5-.401Z" clipRule="evenodd" /></G><Defs><ClipPath id="a"><Rect width={24} height={24} /></ClipPath></Defs></Svg>; } module.exports = FieldIconButton;