Nelmin
Nelmin
Explore posts from servers
CC#
Created by Nelmin on 1/24/2024 in #help
Console App listen for Key Combinations
Hey guys, I wanted to know if there is any library that lets me listen to keybinds while using Sharprompt. Thanks in advance!
1 replies
SSolidJS
Created by Nelmin on 2/23/2023 in #support
Components Props and Text
Hey mates! I need to know 2 things
1. How can I add required props? 2. How can I add text to a Component like in the Example?
example:
//Component
export default function Button(props: ButtonProps) {
return (
<>
<button class={getStyle(props.type)}></button>
</>
);
}

//Site
<Button>Test</Button>
//Component
export default function Button(props: ButtonProps) {
return (
<>
<button class={getStyle(props.type)}></button>
</>
);
}

//Site
<Button>Test</Button>
9 replies