Skip to content

Commit

Permalink
🔧 Renaming
Browse files Browse the repository at this point in the history
  • Loading branch information
nwrenger committed Jan 2, 2024
1 parent 9115e79 commit 18c5d20
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "flip-rs.github.io",
"name": "flip-ui.github.io",
"version": "0.1.0",
"private": true,
"scripts": {
Expand Down
6 changes: 3 additions & 3 deletions src/routes/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -46,12 +46,12 @@
<h3 class="h3">Example:</h3>
<CodeBlock
language="rust"
code={`// Import the flipperzero_ui_crate
use flipperzero_ui_crate;
code={`// Import the flip_ui
use flip_ui;
fn main() {
// Load the exported UI JSON file
let ui = flipperzero_ui_crate::load_from_json("path/to/your/ui.json").expect("Failed to load UI");
let ui = flip_ui::load_from_json("path/to/your/ui.json").expect("Failed to load UI");
// Initialize the UI with the necessary variables and functions
// Replace \`your_function\` and \`your_variable\` with actual implementations
Expand Down

0 comments on commit 18c5d20

Please sign in to comment.