1
0
mirror of https://github.com/phuoc-ng/csslayout.git synced 2025-08-17 03:24:18 +02:00

Refactor details view

This commit is contained in:
Phuoc Nguyen
2019-11-24 22:27:52 +07:00
parent 59c65079a3
commit 24d36dc1c6
38 changed files with 41 additions and 256 deletions

View File

@@ -3,7 +3,6 @@ import React, { useState } from 'react';
import DetailsLayout from '../../layouts/DetailsLayout';
import BrowserFrame from '../../placeholders/BrowserFrame';
import Rectangle from '../../placeholders/Rectangle';
import SampleCode from '../../SampleCode';
const Details = () => {
const [activeTab, setActiveTab] = useState(0);
@@ -49,10 +48,7 @@ const Details = () => {
</div>
</div>
}
source={
<SampleCode
lang="html"
code={`
source={`
<div style="
/* Content is centered */
align-items: center;
@@ -82,8 +78,6 @@ code={`
</div>
</div>
`}
/>
}
/>
</div>
</DetailsLayout>