interface case, acrylic ui, swap to make, lint
This commit is contained in:
parent
f5584a9b0c
commit
a5bc77030a
24 changed files with 353 additions and 92 deletions
|
@ -4,15 +4,15 @@ import { useWorldContext } from "../contexts/worldContext"
|
|||
import Padding from "ReplicatedStorage/ui/components/padding"
|
||||
import { StarterGui } from "@rbxts/services"
|
||||
|
||||
interface hotbarProps extends Roact.JsxInstanceProperties<Frame> {
|
||||
interface HotbarProps extends Roact.JsxInstanceProperties<Frame> {
|
||||
Event?: Roact.JsxInstanceEvents<Frame>
|
||||
Change?: Roact.JsxInstanceChangeEvents<Frame>
|
||||
}
|
||||
|
||||
StarterGui.SetCoreGuiEnabled(Enum.CoreGuiType.Backpack, false)
|
||||
|
||||
function hotbar(props: hotbarProps): Roact.Element {
|
||||
const spreadableProps = { ...props } as Partial<hotbarProps>
|
||||
function hotbar(props: HotbarProps): Roact.Element {
|
||||
const spreadableProps = { ...props } as Partial<HotbarProps>
|
||||
|
||||
const { clientState } = useWorldContext()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue