We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3a97bc2 commit 76b30acCopy full SHA for 76b30ac
1 file changed
src/elements/Header/Sub.js
@@ -0,0 +1,29 @@
1
+import React, {Component, PropTypes} from 'react';
2
+import classNames from 'classnames';
3
+import META from 'src/utils/Meta';
4
+
5
+export default class Sub extends Component {
6
+ static propTypes = {
7
+ children: PropTypes.node,
8
+ className: PropTypes.string,
9
+ }
10
11
+ static _meta = {
12
+ library: META.library.semanticUI,
13
+ name: 'Sub',
14
+ type: META.type.element,
15
+ };
16
17
+ render() {
18
+ const classes = classNames(
19
+ 'sub',
20
+ this.props.className,
21
+ 'header'
22
+ );
23
+ return (
24
+ <div className={classes}>
25
+ {this.props.children}
26
+ </div>
27
28
29
+}
0 commit comments