-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(ui-kit): 모든 컴포넌트가 HTML 엘리먼트를 상속받도록 수정 (#80)
- Loading branch information
Showing
23 changed files
with
252 additions
and
109 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
name: PR Slack Notification | ||
on: [pull_request] | ||
|
||
jobs: | ||
create-pull-request: | ||
runs-on: ubuntu-latest | ||
name: Run | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@master | ||
- name: Fire Notification | ||
uses: Lubycon/github-reviewer-slack-noti-action@v1.1.3 | ||
with: | ||
slack-bot-token: ${{ secrets.LUBYCON_SLACK_BOT_TOKEN }} | ||
github-token: ${{ secrets.LUBYCON_GITHUB_TOKEN }} | ||
channel-id: C01TJJY15BP |
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 |
---|---|---|
@@ -1,12 +1,20 @@ | ||
import React from 'react'; | ||
import { ReactNode } from 'react'; | ||
import classnames from 'classnames'; | ||
import { CombineElementProps } from 'src/types/utils'; | ||
|
||
interface CardContentProps { | ||
children?: ReactNode; | ||
} | ||
const CardContent = ({ children }: CardContentProps) => { | ||
return <div className={classnames('lubycon-card__content')}>{children}</div>; | ||
type CardContentProps = CombineElementProps< | ||
'div', | ||
{ | ||
children?: ReactNode; | ||
} | ||
>; | ||
const CardContent = ({ children, className, ...props }: CardContentProps) => { | ||
return ( | ||
<div className={classnames('lubycon-card__content', className)} {...props}> | ||
{children} | ||
</div> | ||
); | ||
}; | ||
|
||
export default CardContent; |
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
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
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 |
---|---|---|
@@ -1,11 +1,20 @@ | ||
import React, { ReactNode } from 'react'; | ||
import { CombineElementProps } from 'src/types/utils'; | ||
import classnames from 'classnames'; | ||
|
||
interface ModalFooterProps { | ||
children?: ReactNode; | ||
} | ||
type ModalFooterProps = CombineElementProps< | ||
'div', | ||
{ | ||
children?: ReactNode; | ||
} | ||
>; | ||
|
||
const ModalFooter = ({ children }: ModalFooterProps) => { | ||
return <div className="lubycon-modal__footer">{children}</div>; | ||
const ModalFooter = ({ children, className, ...props }: ModalFooterProps) => { | ||
return ( | ||
<div className={classnames('lubycon-modal__footer', className)} {...props}> | ||
{children} | ||
</div> | ||
); | ||
}; | ||
|
||
export default ModalFooter; |
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
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
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
Oops, something went wrong.