wix-style-react
Version:
wix-style-react
28 lines (27 loc) • 571 B
JavaScript
import React from 'react';
import classNames from 'classnames';
import t from 'wix-style-react/Typography';
export default (function () {
return React.createElement(
'div',
null,
React.createElement(
'h1',
{ className: t.h1 },
'This is H1 heading'
),
React.createElement(
'span',
{
className: classNames(t.text, t.sizeSmall, t.weightNormal, t.skinError)
},
'This is a text with: [size=',
"'small'",
' weight=',
"'normal'",
' skin=',
"'error'",
']'
)
);
});