0.1.1 • Published 8 months ago

test-mash-my-room v0.1.1

Weekly downloads
-
License
MIT
Repository
-
Last release
8 months ago

test-mash-my-room is a versatile and user-friendly tool that allows users to effortlessly decorate their own rooms with a wide variety of virtual products. With this package, users can create stunning visualizations of room designs by adding furniture, decor items, and other products to a virtual space.

Installation

You can install test-mash-my-room npm package using the following command:

npm install test-mash-my-room

usage

This is the basic usage of test-mash-my-room

import { MainPage } from "test-mash-my-room"
import 'test-mash-my-room/style.css'
function App() {
  const apiKey = "your_valid_api_key_here"
  return (
    <div>
      <MainPage apiKey={apiKey} />
    </div>
  )
}

export default App

Add the Font Awesome stylesheet to your HTML file's section to enable icons (if needed):

<!DOCTYPE html>
<html lang="en">
<head>
  <link
    rel="stylesheet"
    href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css"
    integrity="sha512-iecdLmaskl7CVkqkXNQ/ZH/XLlvWZOJyj7Yy7tcenmpD1ypASozpmT/E0iPtmFIB46ZmdtAc9eNBvH0H/ZpiBw=="
    crossorigin="anonymous"
    referrerpolicy="no-referrer"
  />
</head>
<body>
  <!-- Your HTML content here -->
</body>
</html>