mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-08-30 05:00:51 +08:00
21 lines
359 B
JavaScript
21 lines
359 B
JavaScript
import classNames from 'classnames';
|
|
|
|
const Title = ( {
|
|
children,
|
|
altStyle = false,
|
|
big = false,
|
|
className = '',
|
|
} ) => {
|
|
const elementClasses = classNames(
|
|
'ppcp-r-settings-block__title',
|
|
className,
|
|
{
|
|
'style-alt': altStyle,
|
|
'style-big': big,
|
|
}
|
|
);
|
|
|
|
return <span className={ elementClasses }>{ children }</span>;
|
|
};
|
|
|
|
export default Title;
|