You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
713 B
33 lines
713 B
import { createStyles } from '@/theme'
|
|
|
|
export const useStyle = createStyles(({ token, css, cx, prefixCls }, props: any) => {
|
|
const prefix = `${prefixCls}-${token?.proPrefix}-dialog-component`
|
|
|
|
const container = css`
|
|
|
|
`
|
|
|
|
const wrap = css`
|
|
.ant-modal-content{
|
|
padding: 20px 0 15px 0;
|
|
|
|
.ant-modal-header{
|
|
padding: 0 24px 10px;
|
|
border-bottom: 1px solid #eee;
|
|
}
|
|
.ant-modal-body{
|
|
padding: 10px 24px;
|
|
}
|
|
.ant-modal-footer{
|
|
background-color: #fcfcfc;
|
|
padding: 15px 24px 0;
|
|
border-top: 1px solid #eee;
|
|
}
|
|
}
|
|
`
|
|
|
|
return {
|
|
container: cx(prefix, props?.className, container),
|
|
wrap,
|
|
}
|
|
})
|