Skip to content

Commit

Permalink
Fix type docs
Browse files Browse the repository at this point in the history
  • Loading branch information
ImAvafe committed Nov 11, 2024
1 parent 1b48782 commit 93f7612
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions src/Components/SwapInput.luau
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ local Components = {
}

export type Props = BaseButton.Props & {
Disabled: Fusion.UsedAs<boolean>?,
Options: Fusion.UsedAs<{ string }>?,
Selection: Fusion.UsedAs<number>?,
Disabled: Fusion.UsedAs<boolean>?,
Color: Fusion.UsedAs<Color3>?,
ContentSize: Fusion.UsedAs<number>?,
}
Expand All @@ -33,8 +33,12 @@ export type Props = BaseButton.Props & {
@within SwapInput
@interface SwapInputProps
@field ... BaseProps
@field ... BaseButtonProps
@field Options Fusion.UsedAs<{ string }>?
@field Selection Fusion.UsedAs<number>?
@field Disabled Fusion.UsedAs<boolean>?
@field Color Fusion.UsedAs<Color3>?
@field ContentSize Fusion.UsedAs<number>?
]=]
return function(Scope: Fusion.Scope<any>, Props: Props)
local Scope = InnerScope(Scope, Fusion, Util, Components)
Expand Down

0 comments on commit 93f7612

Please sign in to comment.