feat: first commit

This commit is contained in:
eleanor.mao
2025-03-31 22:34:22 +08:00
commit d25187c9c8
390 changed files with 57031 additions and 0 deletions

View File

@ -0,0 +1,8 @@
.safe-bottom-padding {
width: 100%;
min-width: 1px;
/* 兼容 iOS < 11.2 */
height: constant(safe-area-inset-bottom);
/* 兼容 iOS >= 11.2 */
height: env(safe-area-inset-bottom);
}

View File

@ -0,0 +1,15 @@
import classNames from 'classnames';
import './index.less';
interface IProps {
className?: string;
}
const SAFE_BOTTOM_PADDING_CLASS = 'safe-bottom-padding';
function SafeBottomPadding(props: IProps) {
return <div className={classNames(SAFE_BOTTOM_PADDING_CLASS, props.className)} />;
}
export default SafeBottomPadding;