mcvm 0.25.0

A fast, extensible, and powerful Minecraft launcher
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
import { JSXElement } from "solid-js";

export default function Icon(props: IconProps) {
	return (
		<props.icon width={props.size} height={props.size} viewBox={`0 0 16 16`} />
	);
}

export interface IconProps {
	icon: (props: HasWidthHeight) => JSXElement;
	size: string;
}

export interface HasWidthHeight {
	width?: string;
	height?: string;
	viewBox?: string;
}