Skip to content
New issue

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

Support Linked Nodes #127

Open
prevwong opened this issue Dec 25, 2023 · 0 comments
Open

Support Linked Nodes #127

prevwong opened this issue Dec 25, 2023 · 0 comments

Comments

@prevwong
Copy link
Owner

In Craft.js, there's a concept of Linked Nodes. Essentially, it's a way for React components to reference another user-editable Node within a React component.

import * as React from 'react';
import { Element } from '@craftjs/core';

export const App = () => {
  return (
    <div class="">
        <Element id="..." is={Container}>...</Element>
    </div>
  )
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

No branches or pull requests

1 participant