Skip to content

Commit

Permalink
docs(stepper): update stepper demo
Browse files Browse the repository at this point in the history
  • Loading branch information
TingShine committed Nov 2, 2022
1 parent f6ad73d commit 2441310
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions src/stepper/_example/status.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,8 @@ export default function StatusStepper() {
};

return (
<div>
<div className="cell-container">
<Cell title="禁用" rightIcon={<Stepper disabled></Stepper>}></Cell>
</div>
<>
<Cell title="禁用" rightIcon={<Stepper disabled></Stepper>}></Cell>
<div className="cell-container">
<Cell title="禁用(单位)" rightIcon={<Stepper disableInput step={2} disabled></Stepper>}></Cell>
</div>
Expand All @@ -30,6 +28,6 @@ export default function StatusStepper() {
<Stepper theme="grey"></Stepper>
<Stepper theme="grey" defaultValue={999} max={999}></Stepper>
</div>
</div>
</>
);
}

0 comments on commit 2441310

Please sign in to comment.