1.17.0 • Published 5 months ago
@asphalt-react/qualifier v1.17.0
Qualifier
⚠️ Designed for Asphalt React component packages. Use at your own risk, if using externally.
Returns the qualifier element. Supports text and icon as SVG. Warns if the icon is not an SVG.
Usage
import { Qualifier } from "@asphalt-react/qualifier"
import { SearchIcon } from "@asphalt-react/iconpack"
function App() {
return (
<Qualifier><SearchIcon /></Qualifier>
)
}
Props
children
Qualifier to render. Accepts SVG for icon and string.
type | required | default |
---|---|---|
union | true | N/A |
iconSize
Size of the icon qualifier.
type | required | default |
---|---|---|
node | false | { width: "16", height: "16" } |
2.0.0-alpha.29
5 months ago
2.0.0-alpha.19
12 months ago
2.0.0-alpha.16
1 year ago
2.0.0-alpha.15
1 year ago
2.0.0-alpha.13
1 year ago
2.0.0-alpha.8
2 years ago
1.17.0
2 years ago
1.16.0
2 years ago