 	let password: String = ""
 }
 
-func renderInput(component: Few.Component<AppState>, label: String, secure: Bool, fn: (AppState, String) -> AppState) -> Element {
+func renderInput(component: Component<AppState>, label: String, secure: Bool, fn: (AppState, String) -> AppState) -> Element {
 	let action: String -> () = { str in
 		component.updateState { fn($0, str) }
 	}

		])
}

class AppDelegate: NSObject, NSApplicationDelegate {
	@IBOutlet weak var window: NSWindow!

	private let demoComponent = Few.Component(initialState: (), render: renderDemo)
	private let converterComponent = Few.Component(initialState: ConverterState(), render: renderTemperatureConverter)

	func applicationDidFinishLaunching(notification: NSNotification) {
		let component = converterComponent

		let contentView = window.contentView as! NSView
		component.addToView(contentView)
	}
}

		])
}

func renderTemperatureConverter(component: Component<ConverterState>, state: ConverterState) -> Element {
	let numberFormatter = NSNumberFormatter()
	let parseNumber: String -> CGFloat? = { str in
		return (numberFormatter.numberFromString(str)?.doubleValue).map { CGFloat($0) }
