@@ -33,6 +33,15 @@ const meta: Meta<typeof Card> = {
3333 control : 'text' ,
3434 if : { arg : 'type' , eq : 'bookmark' } ,
3535 } ,
36+ variant : {
37+ control : 'inline-radio' ,
38+ options : [ 'default' , 'save' ] ,
39+ if : { arg : 'type' , eq : 'bookmark' } ,
40+ } ,
41+ nickname : {
42+ control : 'text' ,
43+ if : { arg : 'variant' , eq : 'save' } ,
44+ } ,
3645 } ,
3746} ;
3847
@@ -56,6 +65,7 @@ export const BookMark: Story = {
5665 name : 'type: bookmark' ,
5766 args : {
5867 type : 'bookmark' ,
68+ variant : 'default' ,
5969 title : '북마크 카드 타이틀' ,
6070 content : '북마크 컨텐츠 내용입니다.' ,
6171 category : '디자인' ,
@@ -65,6 +75,20 @@ export const BookMark: Story = {
6575 } ,
6676} ;
6777
78+ export const BookMarkSave : Story = {
79+ name : 'type: bookmark (save)' ,
80+ args : {
81+ type : 'bookmark' ,
82+ variant : 'save' ,
83+ title : '북마크 카드 타이틀' ,
84+ content : '북마크 컨텐츠 내용입니다.' ,
85+ category : '디자인' ,
86+ nickname : '하비' ,
87+ imageUrl :
88+ 'https://images.unsplash.com/photo-1555949963-ff9fe0c870eb?q=80&w=2070&auto=format&fit=crop' ,
89+ } ,
90+ } ;
91+
6892export const LongTextSideBySide : Story = {
6993 name : 'case: Long Text' ,
7094 render : ( ) => (
@@ -79,6 +103,7 @@ export const LongTextSideBySide: Story = {
79103 />
80104 < Card
81105 type = "bookmark"
106+ variant = "default"
82107 title = "두 줄로 표시되는 긴 북마크 카드 타이틀입니다. 제한 길이를 넘어가면 ... 처리가 됩니다."
83108 content = "여기에 두 줄 이상으로 늘어나는 북마크 컨텐츠 내용이 들어갑니다. 길이를 확인해보세요."
84109 category = "마케팅"
@@ -102,6 +127,7 @@ export const NoImageSideBySide: Story = {
102127 />
103128 < Card
104129 type = "bookmark"
130+ variant = "default"
105131 title = "두 줄로 표시되는 긴 북마크 카드 타이틀입니다. 제한 길이를 넘어가면 ... 처리가 됩니다."
106132 content = "여기에 두 줄 이상으로 늘어나는 북마크 컨텐츠 내용이 들어갑니다. 길이를 확인해보세요."
107133 category = "마케팅"
@@ -115,6 +141,7 @@ export const NoCategoryBookmark: Story = {
115141 name : 'case: No category (bookmark)' ,
116142 args : {
117143 type : 'bookmark' ,
144+ variant : 'default' ,
118145 title : '북마크 카드 타이틀' ,
119146 content : '북마크 컨텐츠 내용입니다.' ,
120147 date : '2025.08.26' ,
0 commit comments