Skip to content

Commit

Permalink
Remove unstable_system prop from types
Browse files Browse the repository at this point in the history
  • Loading branch information
mirka committed Feb 21, 2022
1 parent 28d269b commit a556b52
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
5 changes: 0 additions & 5 deletions packages/components/src/divider/stories/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,6 @@ export default {
marginEnd: {
control: { type: 'number' },
},
// TODO: This is a reakit internal prop. We can hide it from the props table like this
// if we don't want to expose it, but should we rather omit it at the TypeScript level?
unstable_system: {
table: { disable: true },
},
},
parameters: {
controls: { expanded: true },
Expand Down
4 changes: 3 additions & 1 deletion packages/components/src/divider/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,6 @@ export interface OwnProps {
marginEnd?: SpaceInput;
}

export interface Props extends Omit< SeparatorProps, 'children' >, OwnProps {}
export interface Props
extends Omit< SeparatorProps, 'children' | 'unstable_system' >,
OwnProps {}

0 comments on commit a556b52

Please sign in to comment.