-
Notifications
You must be signed in to change notification settings - Fork 58
feat: ContentCard #244
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
base: adrien/data-card
Are you sure you want to change the base?
feat: ContentCard #244
Conversation
0faa084 to
3746651
Compare
7241bac to
c64a939
Compare
3746651 to
a5e53aa
Compare
08b7d41 to
c9ab6cd
Compare
5cae302 to
f93bbc2
Compare
f93bbc2 to
d72f1a1
Compare
adf6f3d to
34c4fc0
Compare
d72f1a1 to
3b8e08d
Compare
34c4fc0 to
6f22d53
Compare
3b8e08d to
d45dbeb
Compare
6f22d53 to
713ff47
Compare
cb-ekuersch
left a comment
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.
Nice job keeping things bw compatible here!
| import { Pressable, type PressableProps } from '../../system'; | ||
|
|
||
| export type ContentCardBaseProps = VStackProps; | ||
| export type ContentCardBaseProps = PressableProps & { |
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.
the types look off here. We should only assign base props to base props
| */ | ||
| body?: React.ReactNode; | ||
| /** Use for supplemental data */ | ||
| description?: React.ReactNode; |
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.
nit: add js doc
|
|
||
| export type ContentCardBodyBaseProps = SharedProps & { | ||
| /** Main body copy */ | ||
| title?: React.ReactNode; |
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.
nit: add js doc
What changed? Why?
Root cause (required for bugfixes)
UI changes
docs
storybook
Testing
How has it been tested?
Testing instructions
Illustrations/Icons Checklist
Required if this PR changes files under
packages/illustrations/**orpackages/icons/**Change management
type=routine
risk=low
impact=sev5
automerge=false