Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion biome.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"useIgnoreFile": true
},
"files": {
"include": ["src/**/*.ts", "src/**/*.tsx"]
"includes": ["src/**/*.ts", "src/**/*.tsx"]
},
"formatter": {
"enabled": true,
Expand Down
22 changes: 13 additions & 9 deletions dist/index.cjs

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/index.cjs.map

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions dist/index.d.cts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ interface EnableProps {
/**
* Feature will be enabled if any feature in the list are enabled,
*/
declare function Enable({ feature, allFeatures, children, }: EnableProps): JSX.Element | null;
declare function Enable({ feature, allFeatures, children, }: EnableProps): React.JSX.Element | null;

/**
* Feature will be disabled if any in the list are enabled
Expand Down Expand Up @@ -132,12 +132,12 @@ interface FeatureProps {
* Keeps track of overrides and defaults, with defaults potentially coming from your props
* and overrides being persisted to your choice of storage layer.
*/
declare function Features({ children, features, disableConsole, storage, rolloutStableId, }: FeatureProps): JSX.Element;
declare function Features({ children, features, disableConsole, storage, rolloutStableId, }: FeatureProps): React.JSX.Element;

declare function ToggleFeatures({ defaultOpen, hidden, }: {
defaultOpen?: boolean;
hidden?: boolean;
}): JSX.Element | null;
}): React.JSX.Element | null;

/**
* returns true iff all specified features are disabled
Expand Down
6 changes: 3 additions & 3 deletions dist/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ interface EnableProps {
/**
* Feature will be enabled if any feature in the list are enabled,
*/
declare function Enable({ feature, allFeatures, children, }: EnableProps): JSX.Element | null;
declare function Enable({ feature, allFeatures, children, }: EnableProps): React.JSX.Element | null;

/**
* Feature will be disabled if any in the list are enabled
Expand Down Expand Up @@ -132,12 +132,12 @@ interface FeatureProps {
* Keeps track of overrides and defaults, with defaults potentially coming from your props
* and overrides being persisted to your choice of storage layer.
*/
declare function Features({ children, features, disableConsole, storage, rolloutStableId, }: FeatureProps): JSX.Element;
declare function Features({ children, features, disableConsole, storage, rolloutStableId, }: FeatureProps): React.JSX.Element;

declare function ToggleFeatures({ defaultOpen, hidden, }: {
defaultOpen?: boolean;
hidden?: boolean;
}): JSX.Element | null;
}): React.JSX.Element | null;

/**
* returns true iff all specified features are disabled
Expand Down
24 changes: 14 additions & 10 deletions dist/index.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

Loading