Settings Menu injection. #2

Merged
ruthenic merged 5 commits from sink/demoncord:PATCH_settings-inj into master 2 years ago
sink commented 2 years ago
Owner

Automatically registers any plugins that export a react component on settings, API is available but not exposed.

registerSettingsEntry("Label", undefined, component);

// or if you want to ensure your shit never collides
registerSettingsEntry("Label", "customprefix-id", component);

// do not expose the second arg on a public API, force it to `undefined`
Automatically registers any plugins that export a react component on `settings`, API is available but not exposed. ```js registerSettingsEntry("Label", undefined, component); // or if you want to ensure your shit never collides registerSettingsEntry("Label", "customprefix-id", component); // do not expose the second arg on a public API, force it to `undefined` ```
sink added 5 commits 2 years ago
ruthenic approved these changes 2 years ago
ruthenic left a comment
Owner

Looks good to me.

Looks good to me.
ruthenic merged commit 90d3756f23 into master 2 years ago

Reviewers

ruthenic approved these changes 2 years ago
The pull request has been merged as 90d3756f23.
Sign in to join this conversation.
No reviewers
No Label
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date

No due date set.

Dependencies

No dependencies set.

Reference: Demon/demoncord#2
Loading…
There is no content yet.