-- button

do
	button.__index = button

	function button:set_callback(callback: callback)
		if (self.connection) then
			self.connection:Disconnect()
		end

		self.connection = self.button.ImageButton.MouseButton1Click:Connect(callback)
	end
end

return sidebar
