@jxz/flexbox
TypeScript icon, indicating that this package has built-in type declarations

0.0.7 • Public • Published

FlexBox

import FlexBox from "@jxz/flexbox";

<FlexBox
  flexDirection={"row-reverse"}
  justifyContent={"space-between"}
  width={"600px"}
>
  <FlexBox>
    <label>
      Title:{" "}
      <input
        name="title"
        value={form.title}
        onChange={onChange}
        onBlur={onBlur}
      />
      {errors.title}
    </label>
  </FlexBox>
  <FlexBox>
    <label>
      vegetarian:
      <input
        type="checkbox"
        name="vegetarian"
        checked={form.vegetarian}
        onChange={onChange}
        onBlur={onBlur}
      />
    </label>
  </FlexBox>
  <FlexBox width={"120px"}>
    <button>Add Recipe</button>
  </FlexBox>
</FlexBox>;

Readme

Keywords

none

Package Sidebar

Install

npm i @jxz/flexbox

Weekly Downloads

0

Version

0.0.7

License

MIT

Unpacked Size

15.4 kB

Total Files

6

Last publish

Collaborators

  • hjzheng