1.0.1 • Published 4 years ago

@lunaris-studios/paradigm-nine v1.0.1

Weekly downloads
1
License
MIT
Repository
github
Last release
4 years ago

Neptune 9-Slice Component

Neptune is a React UI toolkit for the web.

This package provides a React component to generate completely dynamic 9-slice surfaces.

Installation

npm install --save @lunaris-studios/paradigm-nine

Example

import * as React from "react";
import { default as Nine } from "@lunaris-studios/paradigm-nine";

class MyComponent extends React.Component {
	render() {
		return (
			<Nine width={256} height={256} corner={85} image="/images/myImage.png">
				HELLO WORLD!
			</NineSlicNinee>
		);
	}
}

9-Slice Documentation | Full Documentation | Source Code