Skip to content

Commit 20a2faa

Browse files
committed
Fix vite plugin, Apply css optimize
1 parent 9aba0a1 commit 20a2faa

File tree

1 file changed

+1
-17
lines changed

1 file changed

+1
-17
lines changed

apps/vite/src/App.tsx

Lines changed: 1 addition & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { Box, Center, Text } from '@devup-ui/react'
1+
import { Box, Text } from '@devup-ui/react'
22
import { Lib } from 'vite-lib-example'
33

44
export default function App() {
@@ -18,22 +18,6 @@ export default function App() {
1818
<Text color="#777"></Text>
1919
<Text color="#777"></Text>
2020
<Text typography="header">typo</Text>
21-
<NoContent />
2221
</div>
2322
)
2423
}
25-
export function NoContent(props: { text?: string; background?: boolean }) {
26-
const { text, background } = props
27-
return (
28-
<Center
29-
bg={background ? 'var(--white-bg)' : undefined}
30-
h="100%"
31-
minH="80px"
32-
w="100%"
33-
>
34-
<Text color="var(--gray-color)" fontSize="13px" textAlign="center">
35-
{text ?? '표시할 정보가 없습니다.'}
36-
</Text>
37-
</Center>
38-
)
39-
}

0 commit comments

Comments
 (0)