We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9aba0a1 commit 20a2faaCopy full SHA for 20a2faa
1 file changed
apps/vite/src/App.tsx
@@ -1,4 +1,4 @@
1
-import { Box, Center, Text } from '@devup-ui/react'
+import { Box, Text } from '@devup-ui/react'
2
import { Lib } from 'vite-lib-example'
3
4
export default function App() {
@@ -18,22 +18,6 @@ export default function App() {
18
<Text color="#777"></Text>
19
20
<Text typography="header">typo</Text>
21
- <NoContent />
22
</div>
23
)
24
}
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