Skip to content

Commit cf97a95

Browse files
committed
added drawer component docs
Signed-off-by: kishore08-07 <kishorebsm8@gmail.com>
1 parent fb64288 commit cf97a95

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

src/sections/Projects/Sistent/components/drawer/code.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ const DrawerCode = () => {
182182
<p>
183183
Code examples demonstrating different drawer variants and use cases.
184184
</p>
185-
185+
186186
<div className="filterBtns">
187187
<TabButton
188188
className={
@@ -222,10 +222,10 @@ const DrawerCode = () => {
222222
<p>Opens on top of content, closes when clicking outside or selecting an item.</p>
223223
<div className="items">
224224
<SistentThemeProvider initialMode={isDark ? "dark" : "light"}>
225-
<Button
226-
onClick={() => setTempOpen(true)}
227-
variant="contained"
228-
label="Open drawer"
225+
<Button
226+
onClick={() => setTempOpen(true)}
227+
variant="contained"
228+
label="Open drawer"
229229
/>
230230
<Drawer open={tempOpen} onClose={() => setTempOpen(false)}>
231231
<Box sx={{ width: 250 }} role="presentation" onClick={() => setTempOpen(false)}>

src/sections/Projects/Sistent/components/drawer/guidance.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ const DrawerGuidance = () => {
195195
<li>Best for large screens (&gt; 1280px) and complex applications</li>
196196
<li>Ideal for enterprise dashboards and multi-section interfaces</li>
197197
</ul>
198-
<a id="anchor-positions">
198+
<a id="anchor-positions">
199199
<h2>Where to Position Drawers</h2>
200200
</a>
201201

0 commit comments

Comments
 (0)