Skip to content

Commit 36ec304

Browse files
committed
SLDSToast initial commit
1 parent fa8b7e4 commit 36ec304

File tree

2 files changed

+24
-1
lines changed

2 files changed

+24
-1
lines changed

components/SLDSToast/index.jsx

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
/*
2+
Copyright (c) 2015, salesforce.com, inc. All rights reserved.
3+
4+
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
5+
Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
6+
Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
7+
Neither the name of salesforce.com, inc. nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
8+
9+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
10+
*/
11+
12+
'use strict';
13+
14+
import React from 'react';
15+
16+
module.exports = React.createClass( {
17+
18+
render () {
19+
return <div>TOAST!!!</div>;
20+
}
21+
});

components/index.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,13 @@ import SLDSSettings from './SLDSSettings';
1414
import SLDSButton from './SLDSButton';
1515
import SLDSModal from './SLDSModal';
1616
import SLDSModalTrigger from './SLDSModal/trigger';
17+
import SLDSToast from './SLDSToast';
1718

1819
module.exports = {
1920
SLDSPicklistBase: SLDSPicklistBase,
2021
SLDSSettings: SLDSSettings,
2122
SLDSButton: SLDSButton,
2223
SLDSModal: SLDSModal,
23-
SLDSModalTrigger: SLDSModalTrigger
24+
SLDSModalTrigger: SLDSModalTrigger,
25+
SLDSToast: SLDSToast
2426
};

0 commit comments

Comments
 (0)