WieldyTheme
Import Path
import { WieldyTheme } from "@wieldy/component/WieldyTheme";Props
Example Usage
import React from "react";
import { WieldyTheme } from "@wieldy/components/WieldyTheme";
import { theme1 } from "_themes/theme1";
export default function App() {
return (
<WieldyTheme theme={theme1}>
<div>Your app content goes here</div>
</WieldyTheme>
);
}Context API
Available Methods and State
Example: Using Context
Theme Configuration
Example Configuration
Hooks
1. useWieldyTheme
useWieldyTheme2. Other Hooks
Integration in Next.js
Summary
Last updated