@bitrise/bitkit 10.2.2 → 10.2.3-alpha-chakra.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import Button, { ButtonProps } from '../../Components/Button/Button';
|
|
3
|
-
|
|
4
|
-
export type Props = Omit<ButtonProps, 'level'>;
|
|
5
|
-
|
|
6
|
-
/**
|
|
7
|
-
* A Button under the hood, but set up with a
|
|
8
|
-
* standard prop configuration for a Dropdown.
|
|
9
|
-
*/
|
|
10
|
-
const DropdownButton: React.FunctionComponent<Props> = (props: Props) => {
|
|
11
|
-
return <Button width="100%" variant="secondary" rightIconName="ChevronDown" {...props} />;
|
|
12
|
-
};
|
|
13
|
-
|
|
14
|
-
export default DropdownButton;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import PlacementArea, { Props as PlacementAreaProps } from '../Placement/PlacementArea';
|
|
3
|
-
|
|
4
|
-
export type Props = PlacementAreaProps;
|
|
5
|
-
|
|
6
|
-
/**
|
|
7
|
-
* Provides a horizontal flex environment for a
|
|
8
|
-
* dual view dropdown menu.
|
|
9
|
-
*/
|
|
10
|
-
const DropdownMenus: React.FunctionComponent<Props> = (props: Props) => {
|
|
11
|
-
return <PlacementArea {...props} direction="horizontal" />;
|
|
12
|
-
};
|
|
13
|
-
|
|
14
|
-
export default DropdownMenus;
|