Apply border-radius onto linear gradient in bubble layout (#7536)

This commit is contained in:
Michael Telatynski 2022-01-13 16:42:32 +00:00 committed by GitHub
parent 3eb5130cda
commit 6d9d9a56b4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 18 additions and 11 deletions

View file

@ -15,14 +15,9 @@ See the License for the specific language governing permissions and
limitations under the License.
*/
import PropTypes from 'prop-types';
/* TODO: This should be later reworked into something more generic */
export enum Layout {
IRC = "irc",
Group = "group",
Bubble = "bubble",
}
/* We need this because multiple components are still using JavaScript */
export const LayoutPropType = PropTypes.oneOf(Object.values(Layout));