Skip to main content

import * as React from 'react';
import * as stylex from "@stylexjs/stylex";

export default function Card({ onClick, children, em = false }) {
  const props = stylex.props(styles.base, em && styles.emphasise);
}

const styles = stylex.create({
  base: {
    appearance: "none",
    borderStyle: "none",
    backgroundColor: "blue",
    color: "white",
    borderRadius: 4,
    paddingBlock: 4,
    paddingInline: 8,
  },
  emphasise: {
    transform: "scale(1.1)",
  }
});