File tree Expand file tree Collapse file tree
packages/cli/templates/react/igr-ts/tabs/default/files/src/app/__path__ Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11import style from './style.module.css' ;
2- import { IgrTabs , IgrTab , IgrTabPanel } from 'igniteui-react' ;
2+ import { IgrTabs , IgrTab } from 'igniteui-react' ;
33import 'igniteui-webcomponents/themes/light/bootstrap.css' ;
44
55export default function $ ( ClassName ) ( ) {
@@ -8,11 +8,18 @@ export default function $(ClassName)() {
88 < h1 className = { style . title } > Tabs</ h1 >
99 < div className = { style . container } >
1010 < IgrTabs >
11- < IgrTab panel = "first" selected = { true } > < span > Albums</ span > </ IgrTab >
12- < IgrTab panel = "second" > < span > Favourites</ span > </ IgrTab >
13- < IgrTab panel = "third" disabled = { true } > < span > Info</ span > </ IgrTab >
14- < IgrTabPanel slot = "panel" id = "first" > < p > Sgt. Peppers Lonely Hearts Club Band</ p > < p > The Dark Side of the Moon</ p > < p > Thriller</ p > </ IgrTabPanel >
15- < IgrTabPanel slot = "panel" id = "second" > < p > The Dark Side of the Moon</ p > < p > Led Zeppelin IV</ p > </ IgrTabPanel >
11+ < IgrTab label = "Albums" selected = { true } >
12+ < p > Sgt. Peppers Lonely Hearts Club Band</ p >
13+ < p > The Dark Side of the Moon</ p >
14+ < p > Thriller</ p >
15+ </ IgrTab >
16+ < IgrTab label = "Favourites" >
17+ < p > The Dark Side of the Moon</ p >
18+ < p > Led Zeppelin IV</ p >
19+ </ IgrTab >
20+ < IgrTab label = "Info" disabled = { true } >
21+ < p > No content available</ p >
22+ </ IgrTab >
1623 </ IgrTabs >
1724 </ div >
1825 </ div >
You can’t perform that action at this time.
0 commit comments