Skip to content

Commit

Permalink
Document the props properly
Browse files Browse the repository at this point in the history
  • Loading branch information
youknowriad committed Dec 10, 2024
1 parent e04e4db commit 0c29c06
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion packages/components/src/box-control/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -110,8 +110,15 @@ export type BoxControlInputControlProps = UnitControlPassthroughProps & {
) => void;
selectedUnits: BoxControlValue;
setSelectedUnits: React.Dispatch< React.SetStateAction< BoxControlValue > >;
sides: BoxControlProps[ 'sides' ];
values: BoxControlValue;
/**
* Collection of sides to allow control of. If omitted or empty, all sides will be available.
*/
sides: BoxControlProps[ 'sides' ];
/**
* Side represents the current side being rendered by the input.
* It can be a concrete side like: left, right, top, bottom or a combined one like: horizontal, vertical.
*/
side: keyof typeof LABELS;
};

Expand Down

0 comments on commit 0c29c06

Please sign in to comment.