File tree Expand file tree Collapse file tree 7 files changed +17142
-22270
lines changed Expand file tree Collapse file tree 7 files changed +17142
-22270
lines changed Load Diff Large diffs are not rendered by default.
Original file line number Diff line number Diff line change 1111</ head >
1212< body >
1313< div id ="container "> </ div >
14- < script type ="text/javascript " src ="bundle.js?2ffb5f9af2fb1f596c67 "> </ script > </ body >
14+ < script type ="text/javascript " src ="bundle.js?234f30759896fe94d943 "> </ script > </ body >
1515</ html >
Original file line number Diff line number Diff line change @@ -30,6 +30,25 @@ export default () => {
3030 < Button compact > < i className = "fa fa-line-chart" /> </ Button >
3131 < Button compact > < i className = "fa fa-table" /> </ Button >
3232 </ ButtonGroup >
33+
34+ < br /> < br />
35+ < p > < strong > Vertical button group</ strong > </ p >
36+ < div className = "row" >
37+ < div className = "col-xs-4" >
38+ < ButtonGroup vertical btnStyle = "flat" >
39+ < Button active > Left</ Button >
40+ < Button > Middle</ Button >
41+ < Button > Right</ Button >
42+ </ ButtonGroup >
43+ </ div >
44+ < div className = "col-xs-4" >
45+ < ButtonGroup vertical btnStyle = "flat" >
46+ < Button compact > < i className = "fa fa-pie-chart" /> </ Button >
47+ < Button compact > < i className = "fa fa-line-chart" /> </ Button >
48+ < Button compact > < i className = "fa fa-table" /> </ Button >
49+ </ ButtonGroup >
50+ </ div >
51+ </ div >
3352 </ div >
3453 </ div >
3554 ) ;
Original file line number Diff line number Diff line change 11import classNames from 'classnames' ;
22import PropTypes from 'prop-types' ;
33import React , { Component } from 'react' ;
4+ import Anchor from '@trendmicro/react-anchor' ;
45import { Button } from '../src' ;
56import styles from './Nav.styl' ;
67
@@ -36,7 +37,7 @@ export default class extends Component {
3637 < span className = { styles . iconBar } />
3738 < span className = { styles . iconBar } />
3839 </ button >
39- < a href = "#" className = { styles . navbarBrand } > { name } </ a >
40+ < Anchor className = { styles . navbarBrand } > { name } </ Anchor >
4041 </ div >
4142 < div
4243 className = { classNames (
Original file line number Diff line number Diff line change 11import 'trendmicro-ui/dist/css/trendmicro-ui.css' ;
22import React from 'react' ;
33import ReactDOM from 'react-dom' ;
4- import classNames from 'classnames' ;
54import Nav from './Nav' ;
65import Section from './Section' ;
76import ButtonStyles from './ButtonStyles' ;
@@ -26,29 +25,29 @@ class App extends React.Component {
2625 < ButtonStyles />
2726 </ Section >
2827 </ div >
29- < div className = { classNames ( ' col-md-12 col-lg-6 col-xl-4' ) } >
30- < Section className = "row-md-5 " >
28+ < div className = " col-md-12 col-lg-6 col-xl-4" >
29+ < Section className = "row-md-6 " >
3130 < ButtonSizes />
3231 </ Section >
3332 </ div >
3433 < div className = "col-md-12 col-lg-6 col-xl-4" >
35- < Section className = "row-md-5 " >
34+ < Section className = "row-md-6 " >
3635 < ButtonStates />
3736 </ Section >
3837 </ div >
3938 < div className = "col-md-12 col-lg-6 col-xl-4" >
40- < Section className = "row-md-4 row-xl-5 " >
41- < BlockButtons />
39+ < Section className = "row-md-6 " >
40+ < ButtonGroup />
4241 </ Section >
4342 </ div >
4443 < div className = "col-md-12 col-lg-6 col-xl-4" >
45- < Section className = "row-md-4 row-xl- 6" >
46- < ButtonGroup />
44+ < Section className = "row-md-6" >
45+ < IconButtons />
4746 </ Section >
4847 </ div >
4948 < div className = "col-md-12 col-lg-6 col-xl-4" >
5049 < Section className = "row-md-6" >
51- < IconButtons />
50+ < BlockButtons />
5251 </ Section >
5352 </ div >
5453 </ div >
Original file line number Diff line number Diff line change @@ -87,6 +87,7 @@ module.exports = {
8787 } ,
8888 // https://webpack.github.io/docs/webpack-dev-server.html#additional-configuration-options
8989 devServer : {
90+ disableHostCheck : true ,
9091 noInfo : false ,
9192 lazy : false ,
9293 // https://webpack.github.io/docs/node.js-api.html#compiler
You can’t perform that action at this time.
0 commit comments