local C=script.Parent.Parent.Parent local U=C.Parent local Z=require(U.Sift)local b=require(U.Roact)local p=b.createElement local w=require(script.Parent.Tooltip)local m=b.PureComponent:extend(script.Name)function m.render(C)local U=C.props return p(w,Z.Dictionary.join({Text=U.Text..(U.Wrapped and"\n\084\104\097\116 \105\115 \119\114\097\112\112\101\100"or"");Icon=U.Icon and"\105\109\097\103\101\115\047\114\111\098\108\111\120\047\105\099\111\110\115\047\108\111\103\111\047\115\116\117\100\105\111\108\111\103\111\095\115\109\097\108\108\047\049\120"or nil},U.Props))end return{controls={Text="\084\111\111\108\116\105\112 \084\101\120\116",Icon=false;Wrapped=false},stories={Tooltip=function(C)return p(m,C.controls)end}}
local Winro = script.Parent.Parent.Parent
local Packages = Winro.Parent

local Sift = require(Packages.Sift)
local Roact = require(Packages.Roact)
local new = Roact.createElement

local Tooltip = require(script.Parent.Tooltip)
local TooltipStory = Roact.PureComponent:extend(script.Name)

function TooltipStory:render()
	local props = self.props

	return new(Tooltip, Sift.Dictionary.join({
		Text = props.Text .. (props.Wrapped and '\nThat is wrapped' or ''),
		Icon = props.Icon and 'images/roblox/icons/logo/studiologo_small/1x' or nil,
	}, props.Props))
end

return {
	controls = {
		Text = 'Tooltip Text',
		Icon = false,
		Wrapped = false,
	},
	stories = {
		Tooltip = function(props)
			return new(TooltipStory, props.controls)
		end,
	}
}
