-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: git ci npm install err and add dist
- Loading branch information
Showing
46 changed files
with
3,376 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,7 +10,6 @@ | |
# production | ||
/es | ||
/docs-dist | ||
/dist | ||
|
||
# misc | ||
.DS_Store | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
import React from 'react'; | ||
declare const _default: React.MemoExoticComponent< | ||
({ | ||
text, | ||
tips, | ||
color, | ||
iconColor, | ||
align, | ||
}: { | ||
text: any; | ||
tips: any; | ||
color?: string; | ||
iconColor?: string; | ||
align?: string; | ||
}) => JSX.Element | ||
>; | ||
export default _default; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
import React, { memo } from 'react'; | ||
import { Balloon, Icon } from '@alicloud/console-components'; | ||
|
||
var TextWithBalloon = function TextWithBalloon(_ref) { | ||
var text = _ref.text, | ||
tips = _ref.tips, | ||
_ref$color = _ref.color, | ||
color = _ref$color === void 0 ? '' : _ref$color, | ||
_ref$iconColor = _ref.iconColor, | ||
iconColor = _ref$iconColor === void 0 ? '' : _ref$iconColor, | ||
_ref$align = _ref.align, | ||
align = _ref$align === void 0 ? 't' : _ref$align; | ||
return /*#__PURE__*/ React.createElement( | ||
React.Fragment, | ||
null, | ||
/*#__PURE__*/ React.createElement( | ||
'span', | ||
{ | ||
className: 'mr-5 '.concat(color), | ||
}, | ||
text, | ||
), | ||
/*#__PURE__*/ React.createElement( | ||
Balloon, | ||
{ | ||
cache: true, | ||
align: align, | ||
trigger: /*#__PURE__*/ React.createElement(Icon, { | ||
size: 'xs', | ||
type: 'help', | ||
className: 'fc-help-icon '.concat(iconColor), | ||
}), | ||
closable: false, | ||
}, | ||
/*#__PURE__*/ React.createElement('span', { | ||
dangerouslySetInnerHTML: { | ||
__html: tips, | ||
}, | ||
}), | ||
), | ||
); | ||
}; | ||
|
||
export default /*#__PURE__*/ memo(TextWithBalloon); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
/// <reference types="react" /> | ||
import { IProps } from './types'; | ||
import './index.less'; | ||
declare const Notifiy: (props: IProps) => JSX.Element; | ||
export default Notifiy; |
Oops, something went wrong.