Composer - Self label dialog ALF rewrite (#4354)
This commit is contained in:
@@ -37,7 +37,7 @@ export function GifSelectDialog({
|
||||
onSelectGif: onSelectGifProp,
|
||||
}: {
|
||||
controlRef: React.RefObject<{open: () => void}>
|
||||
onClose: () => void
|
||||
onClose?: () => void
|
||||
onSelectGif: (gif: Gif) => void
|
||||
}) {
|
||||
const control = Dialog.useDialogControl()
|
||||
|
||||
@@ -36,7 +36,7 @@ export function Group({children, multiple, ...props}: GroupProps) {
|
||||
|
||||
export function Button({children, ...props}: ItemProps) {
|
||||
return (
|
||||
<Toggle.Item {...props} style={[a.flex_grow]}>
|
||||
<Toggle.Item {...props} style={[a.flex_grow, a.flex_1]}>
|
||||
<ButtonInner>{children}</ButtonInner>
|
||||
</Toggle.Item>
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user