#Basic

When I wrote sayHello("John") it didn't work.
<div>
  When I wrote <InlineCode>sayHello("John")</InlineCode> it didn't work.
</div>

#Props

children*
Required
true
Type
ComponentChild
Default
none
...rest
Required
false
Type
ComponentProps<"code">
Default
none
Notes
See the docs for rest parameters. For InlineCode, you could pass anything you normally would pass to <code> because the return value looks something like this:
<code
  class={className}
  {...restWithoutClass}
>
  {children}
</code>