We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
You can embed DBX in DreamBerd. It's just DreamBerd, and it's also just HTML.
funct App() => { return <div>Hello world!</div> }
Warning: As you know, class is already a keyword in DreamBerd, so you can't use it within DBX.
class
funct App() => { // This is not ok return <div class="greeting">Hello world!</div> }
className is also a DreamBerd keyword, so you can't use that either.
className
funct App() => { // This is also not ok return <div className="greeting">Hello world!</div> }
Instead, you can use the htmlClassName attribute.
htmlClassName
funct App() => { // This is fine return <div htmlClassName="greeting">Hello world!</div> }
Please note: Unlike JSX, you are free to freely use the for attribute - because DreamBerd doesn't have loops.
for
funct App() => { return ( <label for="name">Name</label> <input id="name" /> ) }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
DBX
You can embed DBX in DreamBerd. It's just DreamBerd, and it's also just HTML.
Warning: As you know,
class
is already a keyword in DreamBerd, so you can't use it within DBX.className
is also a DreamBerd keyword, so you can't use that either.Instead, you can use the
htmlClassName
attribute.Please note: Unlike JSX, you are free to freely use the
for
attribute - because DreamBerd doesn't have loops.The text was updated successfully, but these errors were encountered: