local n=require(script.Parent.Parent.Parent.Roact)local H=require(script.Parent.Parent)local w=n.Component:extend("\083\108\105\100\101\114\069\120\097\109\112\108\101\067\111\109\112\111\110\101\110\116")function w.render(w)return n.createElement(H.ThemeProvider,{Theme=H.Themes.Light},{MainFrame=n.createElement("\070\114\097\109\101",{Size=UDim2.fromScale(1,1),BackgroundColor3=Color3.new(1,1,1);BorderSizePixel=0},{Slider=n.createElement(H.Slider,{AnchorPoint=Vector2.new(.5,.5);Position=UDim2.fromScale(.5,.5)})})})end return function(H)local q=n.mount(n.createElement(w),H)return function()n.unmount(q)end end
local Roact = require(script.Parent.Parent.Parent.Roact)
local RoactMaterial = require(script.Parent.Parent)

local ExampleComponent = Roact.Component:extend("SliderExampleComponent")

function ExampleComponent:render()
	return Roact.createElement(RoactMaterial.ThemeProvider, {
		Theme = RoactMaterial.Themes.Light,
	}, {
		MainFrame = Roact.createElement("Frame", {
			Size = UDim2.fromScale(1, 1),
			BackgroundColor3 = Color3.new(1, 1, 1),
			BorderSizePixel = 0,
		}, {
			Slider = Roact.createElement(RoactMaterial.Slider, {
				AnchorPoint = Vector2.new(0.5, 0.5),
				Position = UDim2.fromScale(0.5, 0.5),
			}),
		}),
	})
end

return function(Target)
	local Tree = Roact.mount(Roact.createElement(ExampleComponent), Target)

	return function()
		Roact.unmount(Tree)
	end
end