1
0
mirror of https://github.com/phuoc-ng/csslayout.git synced 2025-08-13 09:35:59 +02:00

Fix tslint

This commit is contained in:
Phuoc Nguyen
2019-11-25 01:00:48 +07:00
parent efc9046824
commit 5fd9ff5ddf
58 changed files with 353 additions and 168 deletions

View File

@@ -5,13 +5,13 @@ import BrowserFrame from '../../placeholders/BrowserFrame';
const Details: React.FC<{}> = () => {
const [visible, setVisible] = useState(false);
const toggle = () => setVisible(v => !v);
const toggle = () => setVisible((v) => !v);
return (
<DetailsLayout title="Toggle password visibility">
<div className="ph4 pv5">
<BrowserFrame
content={
content={(
<div className="h-100 flex flex-column items-center justify-center">
<div className="w5">
<div className="b--black-30 ba br1 flex">
@@ -20,8 +20,8 @@ const Details: React.FC<{}> = () => {
<svg
viewBox="0 0 24 24"
style={{
height: '24px',
fill: "none",
height: '24px',
stroke: "rgba(0, 0, 0, 0.4)",
strokeLinecap: "round",
strokeLinejoin: "round",
@@ -41,7 +41,7 @@ const Details: React.FC<{}> = () => {
</div>
</div>
</div>
}
)}
source={`
<div style="
display: flex;