스타일 설정
This commit is contained in:
@@ -1,13 +1,22 @@
|
||||
import { InfoItemProps } from '../model/types';
|
||||
import { PaymentInfoItemType } from '../model/types';
|
||||
|
||||
export interface InfoItemProps {
|
||||
type?: PaymentInfoItemType;
|
||||
payName?: string;
|
||||
payImage?: string;
|
||||
infoLink?: string;
|
||||
setNoInterestInfoBottomSheetOn?: (noInterestInfoBottomSheetOn: boolean) => void;
|
||||
};
|
||||
|
||||
export const InfoItem = ({
|
||||
type,
|
||||
payName,
|
||||
payImage,
|
||||
infoLink
|
||||
infoLink,
|
||||
setNoInterestInfoBottomSheetOn
|
||||
}: InfoItemProps) => {
|
||||
|
||||
const onClickToShow = () => {
|
||||
const onClickToOpenBottomSheet = () => {
|
||||
if(!!infoLink){
|
||||
|
||||
}
|
||||
@@ -27,7 +36,7 @@ export const InfoItem = ({
|
||||
<button
|
||||
className="ing-card-link"
|
||||
type="button"
|
||||
onClick={ () => onClickToShow() }
|
||||
onClick={ () => onClickToOpenBottomSheet() }
|
||||
>수수료 및 정산주기 ></button>
|
||||
</li>
|
||||
</>
|
||||
|
||||
Reference in New Issue
Block a user