CHANGED: style and components directories, removed redundant imports from styles
ADDED: container and card component, card-subcomponents WIP
This commit is contained in:
21
src/primitive-components/card/card-media.tsx
Normal file
21
src/primitive-components/card/card-media.tsx
Normal file
@@ -0,0 +1,21 @@
|
||||
// import { forwardRef } from 'react';
|
||||
// import { CardMediaProps, CardMedia } from "./card.types";
|
||||
|
||||
// export const CardMedia = forwardRef<CardMedia, CardMediaProps>(
|
||||
// ({rounded = true, preview = true, type, ...props}, ref) => {
|
||||
// const classes = `m3 m3-card-media${rounded ? ' media-rounded' : ''}${preview ? ' media-preview' : ''} ${props.className ?? ''}`.trimEnd();
|
||||
// switch (type){
|
||||
// case "audio":
|
||||
// break;
|
||||
// case "iframe":
|
||||
// break;
|
||||
// case "img":
|
||||
// break;
|
||||
// case "picture":
|
||||
// break;
|
||||
// case "video":
|
||||
// break;
|
||||
// default:
|
||||
// break;
|
||||
// }
|
||||
// }
|
||||
Reference in New Issue
Block a user