mirror of
https://github.com/SomboChea/ui
synced 2026-01-19 17:46:12 +07:00
fix: remove ts ignore from some components
This commit is contained in:
committed by
antoinechalifour
parent
32f4389b73
commit
b1804d7644
@@ -11,15 +11,18 @@ export const Content = styled('div')({
|
||||
},
|
||||
});
|
||||
|
||||
interface ContainerProps {
|
||||
isLoading: boolean;
|
||||
}
|
||||
|
||||
export const Container = styled('div')`
|
||||
&& {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
min-height: 100vh;
|
||||
overflow: hidden;
|
||||
${props =>
|
||||
// @ts-ignore
|
||||
props.isLoading &&
|
||||
${({ isLoading }: ContainerProps) =>
|
||||
isLoading &&
|
||||
css`
|
||||
${Content} {
|
||||
background-color: #f5f6f8;
|
||||
|
||||
Reference in New Issue
Block a user