This commit is contained in:
2024-05-20 15:37:46 +03:00
commit 00b7dbd0b7
10404 changed files with 3285853 additions and 0 deletions

View File

@ -0,0 +1,21 @@
import './style.scss';
import classnames from 'classnames/dedupe';
import { Notice } from '@wordpress/components';
/**
* Component Class
*
* @param props
*/
export default function NoticeComponent(props) {
const { className, ...allProps } = props;
return (
<Notice
className={classnames('vpf-component-notice', className)}
{...allProps}
/>
);
}

View File

@ -0,0 +1,20 @@
@import "../../variables";
.vpf-component-notice {
margin-top: 20px;
margin-right: 0;
margin-left: 0;
&.is-info {
color: $blue-50;
background-color: rgba($blue-30, 0.1);
p {
color: inherit;
}
}
p:last-of-type {
margin-bottom: 0 !important;
}
}