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

feat(util): add component builders #1752

Draft
wants to merge 11 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
459 changes: 459 additions & 0 deletions util/src/builder/component/action_row.rs

Large diffs are not rendered by default.

440 changes: 440 additions & 0 deletions util/src/builder/component/button.rs

Large diffs are not rendered by default.

470 changes: 470 additions & 0 deletions util/src/builder/component/components.rs

Large diffs are not rendered by default.

15 changes: 15 additions & 0 deletions util/src/builder/component/mod.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
//! Component builder thing
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this looks like a temporary doc


mod action_row;
mod button;
mod components;
mod select_menu;
mod select_menu_option;
mod text_input;

pub use action_row::ActionRowBuilder;
pub use button::ButtonBuilder;
pub use components::ComponentsBuilder;
pub use select_menu::SelectMenuBuilder;
pub use select_menu_option::SelectMenuOptionBuilder;
pub use text_input::TextInputBuilder;
Loading