This repository was archived by the owner on Jul 30, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathbasic.tsx
More file actions
78 lines (74 loc) · 4.37 KB
/
basic.tsx
File metadata and controls
78 lines (74 loc) · 4.37 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
import * as ReactDOM from 'react-dom';
import * as React from 'react';
import { SampleBase } from '../common/sample-base';
import './card.component.css';
// tslint:disable:max-line-length
// * Sample for CSS Basic Layout Cards.
export class Basic extends SampleBase<{}, {}> {
render() {
return (
<div className='control-pane'>
<div className='control-section card-control-section basic_card_layout'>
<div className="e-card-resize-container">
<div className='row'>
<div className="row card-layout" >
<div className="col-xs-6 col-sm-6 col-lg-6 col-md-6">
<div className="e-card" id="basic_card" >
<div className="e-card-header">
<div className="e-card-header-caption">
<div className="e-card-title">Debunking Five Data Science Myths</div>
<div className="e-card-sub-title">By John Doe | Jan 20, 2018 </div>
</div>
</div>
<div className="e-card-content">
Tech evangelists are currently pounding their pulpits about all things AI, machine learning, analytics—anything that sounds
like the future and probably involves lots of numbers. Many of these topics can be grouped under
the intimidating term data science.
</div>
<div className="e-card-actions">
<button className="e-btn e-outline e-primary">
Read More
</button>
</div>
</div>
</div>
<div className="col-xs-6 col-sm-6 col-lg-6 col-md-6">
<div className="e-card" id="weather_card" >
<div className="e-card-header">
<div className="e-card-header-caption">
<div className="e-card-header-title">Today</div>
<div className="e-card-sub-title">New York - Scattered Showers.</div>
</div>
</div>
<div className="e-card-header weather_report">
<div className="e-card-header-image"></div>
<div className="e-card-header-caption">
<div className="e-card-header-title">1º / -4º</div>
<div className="e-card-sub-title">Chance for snow: 100%</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div id="action-description">
<p>
This sample demonstrates
<code>card</code> rendering with the following basic weather layout.
</p>
</div>
<div id="description">
<p>
The card is a small content display area in which specific structure of the content can be shown. This sample demonstrates
the defined structure and predefined classes for adding basic cards with header, and content elements.
<p>More information about Card can be found in this
<a target="_blank" href="http://ej2.syncfusion.com/documentation/card/getting-started.html">
documentation</a> section.</p>
</p>
</div>
</div>
);
}
}