-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weโll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: add Alert component #5
Conversation
๐ @Jandiasnow |
src/Alert/demos/Playground.tsx
Outdated
const control: AlertProps | any = useControls( | ||
{ | ||
message: | ||
'Info Description Info Description Info Description Info Description Info Description Info Description Info Description Info DescriptionInfo Description Info Description Info Description Info DescriptionInfo Description Info Description Info Description Info DescriptionInfo Description Info Description Info Description Info Description', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ๆ่ฟฐๅคช้ๆไบ๏ผๅฏไปฅๅป readme ้้ขๆพไบ้ฟ็ๅฅๅญ
src/Alert/demos/index.tsx
Outdated
export default () => { | ||
return ( | ||
<Alert | ||
message="Info Description Info Description Info Description Info Description Info Description Info Description Info Description Info DescriptionInfo Description Info Description Info Description Info DescriptionInfo Description Info Description Info Description Info DescriptionInfo Description Info Description Info Description Info Description" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ๅไธ
src/Alert/index.tsx
Outdated
|
||
export interface CustomAlertProps { | ||
/** position of icon */ | ||
iconPlacement?: 'top' | 'center'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
iconPlacement
ๆฏๅฆๆๅฟ
่ฆ๏ผ
โค๏ธ Great PR @Jandiasnow โค๏ธ |
๐ This PR is included in version 1.0.0-beta.9 ๐ The release is available on: Your semantic-release bot ๐ฆ๐ |
๐ป ๅๆด็ฑปๅ | Change Type
๐ ๅๆด่ฏดๆ | Description of Change
add Alert component
๐ ่กฅๅ ไฟกๆฏ | Additional Information