2025-04-01 10:38:02 +09:00

16 lines
479 B
TypeScript

import { Ref, forwardRef } from 'react';
import { Button, ButtonProps, Icon, Stack } from '@grafana/ui';
const MoreButton = forwardRef(function MoreButton(props: ButtonProps, ref: Ref<HTMLButtonElement>) {
return (
<Button variant="secondary" size="sm" type="button" aria-label="More" ref={ref} {...props}>
<Stack direction="row" alignItems="center" gap={0}>
More <Icon name="angle-down" />
</Stack>
</Button>
);
});
export default MoreButton;