1 |
|
2 |
|
3 |
|
4 |
|
5 |
|
6 |
|
7 |
|
8 | import React, {Component} from 'react';
|
9 | import Locale from '../../src'
|
10 | import Popconfirm from 'bee-popconfirm';
|
11 | import Button from 'bee-button';
|
12 | import En from '../../src/en_US';
|
13 |
|
14 | class Demo1 extends Component {
|
15 | render() {
|
16 | let content = 'Do yon like me?';
|
17 | return (
|
18 | <Locale locale={En}>
|
19 | <Popconfirm
|
20 | trigger="click"
|
21 | placement="right"
|
22 | content={content}>
|
23 | <Button colors="primary">see right!</Button>
|
24 | </Popconfirm>
|
25 | </Locale>
|
26 | )
|
27 | }
|
28 | }
|
29 |
|
30 | export default Demo1; |
\ | No newline at end of file |