var href = "http://example.com"; var linkTypes = { rel: "noopener noreferrer" }; Link to {href}. {/*TODO: need more exciting link text*/}; ; ; // interpreted as a custom component because of capitalisation ; // interpreted as an HTML element because of the dash var fragment = <> fragment text more text // Both of these are equivalent: const x = ; const y = ; interface BarProps { "a:b": string; } function Bar(props: BarProps) { return
{props["a:b"]}
; }